Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 110 kB / 18.25 MB, free: 4.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 195.5 kB / 19.18 MB, free: 3.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.1 MB / 225 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 47.92 kB / 281.3 MB, free: 3.164 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07892/0.08015, allocations: 46.62 MB / 327.9 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01204/0.09223, allocations: 10.98 MB / 338.9 MB, free: 9.434 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006752/0.09902, allocations: 3.538 MB / 342.5 MB, free: 5.879 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001942/0.101, allocations: 39.88 kB / 342.5 MB, free: 5.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007788/0.1089, allocations: 8.148 MB / 350.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006197/0.1151, allocations: 4.616 MB / 355.3 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002371/0.1175, allocations: 0.9245 MB / 356.2 MB, free: 8.121 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006186/0.1237, allocations: 5.297 MB / 361.5 MB, free: 2.812 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/0.1254, allocations: 0.8867 MB / 362.4 MB, free: 1.895 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004348/0.1297, allocations: 2.856 MB / 365.2 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005741/0.1355, allocations: 5.119 MB / 370.4 MB, free: 9.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00108/0.1366, allocations: 352 kB / 370.7 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.1378, allocations: 392 kB / 371.1 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001656/0.1395, allocations: 1.869 MB / 372.9 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003173/0.1427, allocations: 2.792 MB / 375.7 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1534/0.2961, allocations: 7.137 MB / 382.9 MB, free: 35 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.2961, allocations: 0 / 382.9 MB, free: 35 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2962, allocations: 0 / 382.9 MB, free: 35 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002465/0.2964, allocations: 0.75 kB / 382.9 MB, free: 35 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.01585/0.3123, allocations: 7.647 MB / 390.5 MB, free: 31.03 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.3123, allocations: 13.81 kB / 390.5 MB, free: 31.03 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001595/0.3139, allocations: 0.8459 MB / 391.4 MB, free: 30.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004675/0.3186, allocations: 3.152 MB / 394.5 MB, free: 29.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.3188, allocations: 154.6 kB / 394.7 MB, free: 29.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004792/0.3193, allocations: 209.1 kB / 394.9 MB, free: 29.03 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004548/0.3239, allocations: 2.115 MB / 397 MB, free: 28.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.955e-05/0.3239, allocations: 4 kB / 397 MB, free: 28.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002029/0.3242, allocations: 82.84 kB / 397.1 MB, free: 28.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.187e-05/0.3242, allocations: 52.69 kB / 397.1 MB, free: 28.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00382/0.328, allocations: 1.897 MB / 399 MB, free: 28.29 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01533/0.3434, allocations: 8.951 MB / 408 MB, free: 22.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003725/0.3471, allocations: 2.334 MB / 410.3 MB, free: 21.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002479/0.3496, allocations: 1.385 MB / 411.7 MB, free: 20.71 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/0.3498, allocations: 38.12 kB / 411.7 MB, free: 20.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001899/0.3517, allocations: 1.159 MB / 412.9 MB, free: 19.49 MB / 318.1 MB Notification: Performance of pre-optimization done (n=242): time 4.338e-06/0.3517, allocations: 3.281 kB / 412.9 MB, free: 19.49 MB / 318.1 MB Notification: Performance of matching and sorting (n=367): time 0.06456/0.4163, allocations: 22.81 MB / 435.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02972/0.446, allocations: 13.63 MB / 449.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01675/0.4628, allocations: 14.9 MB / 464.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006516/0.4635, allocations: 89.77 kB / 464.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003961/0.4675, allocations: 3.732 MB / 468.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001529/0.469, allocations: 1.209 MB / 469.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001039/0.4701, allocations: 0.5155 MB / 469.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.065e-05/0.4702, allocations: 303 kB / 470.1 MB, free: 9.949 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002585/0.4728, allocations: 1.252 MB / 471.3 MB, free: 8.695 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002963/0.4758, allocations: 1.622 MB / 473 MB, free: 6.996 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005633/0.4814, allocations: 2.995 MB / 475.9 MB, free: 3.957 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.4815, allocations: 4 kB / 476 MB, free: 3.953 MB / 366.1 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01245/0.4939, allocations: 5.206 MB / 481.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/0.494, allocations: 4 kB / 481.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/0.494, allocations: 8 kB / 481.2 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005713/0.4997, allocations: 1.4 MB / 482.6 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003016/0.5028, allocations: 0.537 MB / 483.1 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0298/0.5326, allocations: 23.98 MB / 0.4952 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003908/0.5366, allocations: 135.8 kB / 0.4953 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007543/0.5374, allocations: 112 kB / 0.4954 GB, free: 3.473 MB / 398.1 MB 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 (309): * Single equations (assignments): 300 * 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,4,100.0%), (1,3,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.00424/0.5416, allocations: 2.182 MB / 0.4976 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001906/0.5435, allocations: 0.8136 MB / 0.4984 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01385/0.5574, allocations: 5.221 MB / 0.5035 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.234e-05/0.5575, allocations: 36 kB / 0.5035 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.776e-05/0.5575, allocations: 8 kB / 0.5035 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.563e-05/0.5576, allocations: 19.03 kB / 0.5035 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02715/0.5848, allocations: 11.1 MB / 0.5144 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.712e-05/0.5849, allocations: 4 kB / 0.5144 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003046/0.5879, allocations: 459.4 kB / 0.5148 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006685/0.5946, allocations: 1.346 MB / 0.5161 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007047/0.5954, allocations: 75.97 kB / 0.5162 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.195/0.7904, allocations: 21.86 MB / 0.5375 GB, free: 143.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.03514/0.8256, allocations: 11.94 MB / 0.5492 GB, free: 136.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0218/0.8475, allocations: 6.942 MB / 0.556 GB, free: 134 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002162/0.8497, allocations: 0.7495 MB / 0.5567 GB, free: 133.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001946/0.8517, allocations: 82.31 kB / 0.5568 GB, free: 133.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004161/0.8558, allocations: 107.3 kB / 0.5569 GB, free: 133.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001273/0.8572, allocations: 263.9 kB / 0.5571 GB, free: 133.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004857/0.8577, allocations: 96.97 kB / 0.5572 GB, free: 133.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.01581/0.8735, allocations: 11.12 MB / 0.5681 GB, free: 125.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.8735, allocations: 96 / 0.5681 GB, free: 125.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0071/0.8807, allocations: 1.078 MB / 0.5691 GB, free: 124.7 MB / 430.1 MB 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 (253): * Single equations (assignments): 242 * 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.002271/0.883, allocations: 0.5038 MB / 0.5696 GB, free: 124.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0174/0.9004, allocations: 4.91 MB / 0.5744 GB, free: 119.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/0.9005, allocations: 4 kB / 0.5744 GB, free: 119.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006373/0.9068, allocations: 3.291 MB / 0.5777 GB, free: 115.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005207/0.9121, allocations: 0.5376 MB / 0.5782 GB, free: 115.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02426/0.9364, allocations: 18.45 MB / 0.5962 GB, free: 96.97 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004104/0.9405, allocations: 4.006 MB / 0.6001 GB, free: 92.92 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001377/0.9419, allocations: 199.4 kB / 0.6003 GB, free: 92.72 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.942, allocations: 0 / 0.6003 GB, free: 92.72 MB / 430.1 MB Notification: Performance of Templates: time 1.244/2.186, allocations: 0.5417 GB / 1.142 GB, free: 32.4 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonPullInStroke/ComparisonPullInStroke.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches