Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001283/0.001283, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00232/0.00232, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] 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.SolenoidActuator.ComparisonPullInStroke,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonPullInStroke",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonPullInStroke",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 75.86 kB / 373.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1253, allocations: 53.31 MB / 426.7 MB, free: 5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.2808/0.4061, allocations: 11.44 MB / 438.1 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007999/0.4141, allocations: 3.872 MB / 442 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002853/0.417, allocations: 37.97 kB / 442 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01115/0.4281, allocations: 8.152 MB / 450.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008355/0.4365, allocations: 4.723 MB / 454.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003347/0.4398, allocations: 0.9282 MB / 455.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0109/0.4507, allocations: 5.408 MB / 461.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001665/0.4524, allocations: 0.6017 MB / 461.8 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006971/0.4594, allocations: 2.911 MB / 464.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01091/0.4703, allocations: 5.832 MB / 470.6 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001392/0.4717, allocations: 356 kB / 470.9 MB, free: 4.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.4734, allocations: 400 kB / 471.3 MB, free: 4.566 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001722/0.4751, allocations: 1.888 MB / 473.2 MB, free: 2.664 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003755/0.4788, allocations: 2.842 MB / 476 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008933/0.4878, allocations: 7.434 MB / 483.5 MB, free: 8.332 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.4878, allocations: 8 kB / 483.5 MB, free: 8.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4878, allocations: 0 / 483.5 MB, free: 8.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002097/0.488, allocations: 0 / 483.5 MB, free: 8.324 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.01518/0.5032, allocations: 8.031 MB / 491.5 MB, free: 184 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.5032, allocations: 8.031 kB / 491.5 MB, free: 176 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004816/0.5037, allocations: 295.7 kB / 491.8 MB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002147/0.5059, allocations: 0.948 MB / 492.8 MB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00523/0.5111, allocations: 3.313 MB / 496.1 MB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/0.5112, allocations: 157.2 kB / 496.2 MB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004165/0.5116, allocations: 209.9 kB / 496.4 MB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004006/0.5157, allocations: 2.096 MB / 498.5 MB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.794e-05/0.5157, allocations: 7.953 kB / 498.5 MB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001848/0.5159, allocations: 84 kB / 498.6 MB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.717e-05/0.5159, allocations: 52 kB / 498.7 MB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003824/0.5198, allocations: 1.841 MB / 0.4888 GB, free: 7.027 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01668/0.5364, allocations: 8.989 MB / 0.4976 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003786/0.5402, allocations: 2.169 MB / 0.4997 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002625/0.5429, allocations: 1.271 MB / 0.5009 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/0.543, allocations: 50.27 kB / 0.501 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002088/0.5451, allocations: 1.128 MB / 0.5021 GB, free: 9.133 MB / 414.1 MB Notification: Performance of pre-optimization done (n=246): time 5.4e-06/0.5451, allocations: 0 / 0.5021 GB, free: 9.133 MB / 414.1 MB Notification: Performance of matching and sorting (n=371): time 0.06783/0.6129, allocations: 22.79 MB / 0.5243 GB, free: 2.043 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03224/0.6452, allocations: 13.67 MB / 0.5377 GB, free: 4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02003/0.6652, allocations: 15.04 MB / 0.5524 GB, free: 4.961 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006274/0.6658, allocations: 89.69 kB / 0.5524 GB, free: 4.867 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00425/0.6701, allocations: 3.794 MB / 0.5561 GB, free: 1.066 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001679/0.6717, allocations: 1.282 MB / 0.5574 GB, free: 15.77 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001082/0.6728, allocations: 0.5275 MB / 0.5579 GB, free: 15.24 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.673, allocations: 309.1 kB / 0.5582 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002609/0.6756, allocations: 1.225 MB / 0.5594 GB, free: 13.71 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003028/0.6786, allocations: 1.611 MB / 0.561 GB, free: 12.02 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005559/0.6842, allocations: 2.961 MB / 0.5639 GB, free: 8.992 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/0.6842, allocations: 4 kB / 0.5639 GB, free: 8.988 MB / 478.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.01263/0.6968, allocations: 5.191 MB / 0.5689 GB, free: 3.758 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.6968, allocations: 8 kB / 0.569 GB, free: 3.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/0.6969, allocations: 4.875 kB / 0.569 GB, free: 3.746 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006356/0.7032, allocations: 1.419 MB / 0.5703 GB, free: 2.297 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003194/0.7064, allocations: 0.5344 MB / 0.5709 GB, free: 1.762 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03572/0.7421, allocations: 24.06 MB / 0.5944 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00369/0.7458, allocations: 111.9 kB / 0.5945 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006839/0.7465, allocations: 116 kB / 0.5946 GB, free: 8.242 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.comparisonWithFEA.nextTimeEvent,$whenCondition1,comparisonWithFEA.nextTimeEventScaled,$PRE.comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEvent,simpleSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (313): * Single equations (assignments): 304 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,3,100.0%), (1,3,100.0%), (1,4,100.0%), (1,3,100.0%), (1,4,100.0%), (1,5,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,43), (3,50)} Notification: Performance of prepare postOptimizeDAE: time 0.004752/0.7513, allocations: 2.195 MB / 0.5967 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002079/0.7533, allocations: 0.8691 MB / 0.5976 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01355/0.7669, allocations: 5.158 MB / 0.6026 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.344e-05/0.7669, allocations: 36.14 kB / 0.6026 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.293e-05/0.767, allocations: 7.984 kB / 0.6026 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.926e-05/0.767, allocations: 23.88 kB / 0.6027 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02661/0.7936, allocations: 11.05 MB / 0.6135 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-05/0.7936, allocations: 8.094 kB / 0.6135 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002578/0.7962, allocations: 447.4 kB / 0.6139 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005962/0.8022, allocations: 1.346 MB / 0.6152 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000416/0.8026, allocations: 79.91 kB / 0.6153 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2858/1.088, allocations: 21.92 MB / 0.6367 GB, free: 146.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02536/1.114, allocations: 11.99 MB / 0.6484 GB, free: 139.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/1.128, allocations: 6.893 MB / 0.6551 GB, free: 136.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001957/1.13, allocations: 0.8112 MB / 0.6559 GB, free: 136.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007432/1.131, allocations: 74.39 kB / 0.656 GB, free: 136.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002067/1.133, allocations: 98.59 kB / 0.6561 GB, free: 136.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008737/1.134, allocations: 263.3 kB / 0.6563 GB, free: 136.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002125/1.134, allocations: 95.52 kB / 0.6564 GB, free: 136.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0134/1.147, allocations: 11.23 MB / 0.6674 GB, free: 132.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/1.147, allocations: 0 / 0.6674 GB, free: 132.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004793/1.152, allocations: 1.098 MB / 0.6685 GB, free: 132.6 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (advancedSolenoid.x,advancedSolenoid.coil1.i,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.coil2.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,$STATESET1.x,simpleSolenoid.x,simpleSolenoid.armature.stopper_xMin.v_rel) * Number of discrete variables: 7 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,$whenCondition1,comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Number of discrete states: 2 (comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (257): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,5,100.0%), (1,3,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,49), (4,42)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01296/1.165, allocations: 7.869 MB / 0.6762 GB, free: 127.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006643/1.172, allocations: 4.589 MB / 0.6806 GB, free: 122.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.172, allocations: 4 kB / 0.6806 GB, free: 122.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004048/1.176, allocations: 3.127 MB / 0.6837 GB, free: 119.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003565/1.179, allocations: 0.5819 MB / 0.6843 GB, free: 119.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09826/1.278, allocations: 56.29 MB / 0.7392 GB, free: 63.55 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003679/1.281, allocations: 4.05 MB / 0.7432 GB, free: 59.46 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001862/1.283, allocations: 313.5 kB / 0.7435 GB, free: 59.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002889/1.286, allocations: 3.284 MB / 0.7467 GB, free: 55.86 MB / 0.5137 GB Notification: Performance of SimCode: time 1.653e-06/1.286, allocations: 0 / 0.7467 GB, free: 55.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5484/1.834, allocations: 145.2 MB / 0.8884 GB, free: 122.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 92.44/94.28, allocations: 8.719 kB / 0.8885 GB, free: 122.2 MB / 0.5294 GB " [Timeout remaining time 565] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonPullInStroke_fmu --startTime=0 --stopTime=0.05 --stepSize=9.01713e-06 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonPullInStroke.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonPullInStroke/ComparisonPullInStroke.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 99.66964034503326]