Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001111/0.001111, allocations: 104.2 kB / 17.2 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 209.7 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 64.55 kB / 306.4 MB, free: 0.9336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08847/0.08965, allocations: 50.54 MB / 356.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.00718/0.09687, allocations: 6.511 MB / 363.4 MB, free: 7.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003793/0.1007, allocations: 2.357 MB / 365.8 MB, free: 5.477 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005388/0.1013, allocations: 19.94 kB / 365.8 MB, free: 5.457 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007405/0.102, allocations: 310.5 kB / 366.1 MB, free: 5.152 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009486/0.103, allocations: 469.3 kB / 366.5 MB, free: 4.691 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007782/0.1038, allocations: 407 kB / 366.9 MB, free: 4.297 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001316/0.1051, allocations: 1.464 MB / 368.4 MB, free: 2.828 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005688/0.1057, allocations: 463.5 kB / 368.9 MB, free: 2.355 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006142/0.1063, allocations: 0.498 MB / 369.4 MB, free: 1.855 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005888/0.1069, allocations: 0.6184 MB / 370 MB, free: 1.234 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.1071, allocations: 80 kB / 370.1 MB, free: 1.156 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.1073, allocations: 108 kB / 370.2 MB, free: 1.051 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002162/0.1075, allocations: 258.9 kB / 370.4 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005003/0.108, allocations: 0.5945 MB / 371 MB, free: 204 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1459/0.2539, allocations: 1.88 MB / 372.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.254, allocations: 3.188 kB / 372.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.254, allocations: 0.7812 kB / 372.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.254, allocations: 0 / 372.9 MB, free: 12.14 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002761/0.2568, allocations: 1.541 MB / 374.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.2568, allocations: 9.688 kB / 374.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001737/0.257, allocations: 149.3 kB / 374.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005204/0.2575, allocations: 159.5 kB / 374.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009554/0.2585, allocations: 0.7279 MB / 375.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.2586, allocations: 83.08 kB / 375.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.2588, allocations: 96.91 kB / 375.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.2606, allocations: 0.9807 MB / 376.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/0.2606, allocations: 2.625 kB / 376.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.699e-05/0.2607, allocations: 42.12 kB / 376.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.2608, allocations: 24.03 kB / 376.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001605/0.2624, allocations: 0.8207 MB / 377.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004708/0.2671, allocations: 3.666 MB / 381.2 MB, free: 8.988 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/0.269, allocations: 0.6332 MB / 381.8 MB, free: 8.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005241/0.2695, allocations: 322.9 kB / 382.1 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.463e-05/0.2696, allocations: 20.39 kB / 382.2 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.2696, allocations: 40.98 kB / 382.2 MB, free: 8.594 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.715e-06/0.2696, allocations: 1.375 kB / 382.2 MB, free: 8.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.003786/0.2734, allocations: 1.657 MB / 383.9 MB, free: 7.852 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.2734, allocations: 87.33 kB / 383.9 MB, free: 7.754 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.2746, allocations: 1.04 MB / 385 MB, free: 7.312 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.2747, allocations: 35.86 kB / 385 MB, free: 7.273 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002887/0.275, allocations: 0.55 MB / 385.6 MB, free: 6.832 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.2751, allocations: 228.7 kB / 385.8 MB, free: 6.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002409/0.2754, allocations: 165 kB / 385.9 MB, free: 6.574 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.4e-05/0.2754, allocations: 336.5 kB / 386.3 MB, free: 6.258 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007081/0.2761, allocations: 312.7 kB / 386.6 MB, free: 6.148 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007442/0.2769, allocations: 496.2 kB / 387.1 MB, free: 5.828 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.2782, allocations: 0.7898 MB / 387.9 MB, free: 5.363 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2782, allocations: 2.281 kB / 387.9 MB, free: 5.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001862/0.2801, allocations: 0.967 MB / 388.8 MB, free: 5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.2801, allocations: 6.688 kB / 388.8 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.2801, allocations: 5.719 kB / 388.8 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.2802, allocations: 13.66 kB / 388.8 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.2813, allocations: 277.8 kB / 389.1 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.2813, allocations: 10.31 kB / 389.1 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007939/0.2821, allocations: 58.27 kB / 389.2 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.176e-05/0.2822, allocations: 37.84 kB / 389.2 MB, free: 4.965 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003849/0.2826, allocations: 293.5 kB / 389.5 MB, free: 4.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.2828, allocations: 104.3 kB / 389.6 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007233/0.2835, allocations: 351.5 kB / 390 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.2835, allocations: 6.469 kB / 390 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.2835, allocations: 1.031 kB / 390 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.2835, allocations: 12.09 kB / 390 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00328/0.2868, allocations: 2.284 MB / 392.3 MB, free: 2.867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.2868, allocations: 10.16 kB / 392.3 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008115/0.2877, allocations: 214.1 kB / 392.5 MB, free: 2.805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.204e-05/0.2877, allocations: 9.5 kB / 392.5 MB, free: 2.805 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/0.2877, allocations: 19.56 kB / 392.5 MB, free: 2.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.166e-05/0.2877, allocations: 16.52 kB / 392.5 MB, free: 2.793 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.2878, allocations: 13.12 kB / 392.5 MB, free: 2.793 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.2891, allocations: 1.024 MB / 393.6 MB, free: 2.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.2893, allocations: 198.1 kB / 393.8 MB, free: 1.836 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.2894, allocations: 19.38 kB / 393.8 MB, free: 1.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006146/0.29, allocations: 49.83 kB / 393.8 MB, free: 1.805 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.747e-05/0.2901, allocations: 64.78 kB / 393.9 MB, free: 1.773 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-05/0.2902, allocations: 28.77 kB / 393.9 MB, free: 1.766 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000797/0.291, allocations: 0.7177 MB / 394.6 MB, free: 1.367 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.291, allocations: 0 / 394.6 MB, free: 1.367 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007785/0.2918, allocations: 216.9 kB / 394.8 MB, free: 1.34 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002152/0.2939, allocations: 1.854 MB / 396.7 MB, free: 15.95 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001475/0.2954, allocations: 0.7144 MB / 397.4 MB, free: 15.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2955, allocations: 2.344 kB / 397.4 MB, free: 15.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007035/0.2962, allocations: 362.9 kB / 397.8 MB, free: 15.52 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.2974, allocations: 213.5 kB / 398 MB, free: 15.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/0.3108, allocations: 9.474 MB / 407.5 MB, free: 6.672 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000569/0.3114, allocations: 1.042 MB / 408.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005811/0.312, allocations: 123.6 kB / 408.6 MB, free: 5.477 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005041/0.3125, allocations: 399.3 kB / 409 MB, free: 5.086 MB / 318.1 MB Notification: Performance of SimCode: time 1.573e-06/0.3125, allocations: 0 / 409 MB, free: 5.086 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0316/0.3441, allocations: 19.63 MB / 428.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/0.3444, allocations: 284.8 kB / 428.9 MB, free: 1.348 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.25/2.595, allocations: 0 / 428.9 MB, free: 1.348 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches