Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.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.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009573/0.0009573, allocations: 100.2 kB / 16.94 MB, free: 5.98 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.001283/0.001283, allocations: 178.1 kB / 17.82 MB, free: 5.652 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.511/1.511, allocations: 205.4 MB / 224 MB, free: 13.17 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.000445/0.000445, allocations: 11.28 kB / 280.7 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09259/0.09304, allocations: 47.59 MB / 328.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.008583/0.1017, allocations: 8.805 MB / 337.1 MB, free: 11.27 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006467/0.1082, allocations: 3.213 MB / 340.3 MB, free: 8.039 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001653/0.1099, allocations: 35.88 kB / 340.4 MB, free: 8.004 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.111, allocations: 0.556 MB / 340.9 MB, free: 7.445 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003109/0.1142, allocations: 0.9076 MB / 341.8 MB, free: 6.535 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.116, allocations: 0.5577 MB / 342.4 MB, free: 5.977 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003895/0.1199, allocations: 2.063 MB / 344.5 MB, free: 3.914 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.121, allocations: 0.6955 MB / 345.2 MB, free: 3.195 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001953/0.123, allocations: 0.9886 MB / 346.2 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002001/0.125, allocations: 1.202 MB / 347.4 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003614/0.1254, allocations: 132 kB / 347.5 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005902/0.126, allocations: 155.9 kB / 347.6 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000432/0.1264, allocations: 482.1 kB / 348.1 MB, free: 248 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005784/0.127, allocations: 0.512 MB / 348.6 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002821/0.1298, allocations: 3.279 MB / 351.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1298, allocations: 4 kB / 351.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1298, allocations: 0 / 351.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.915e-05/0.1299, allocations: 4 kB / 351.9 MB, free: 12.43 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: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.006238/0.1361, allocations: 2.726 MB / 354.6 MB, free: 9.633 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/0.1362, allocations: 12.02 kB / 354.6 MB, free: 9.621 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005479/0.1368, allocations: 296.4 kB / 354.9 MB, free: 9.328 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002713/0.1395, allocations: 1.438 MB / 356.4 MB, free: 7.836 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.1396, allocations: 156.1 kB / 356.5 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002606/0.1399, allocations: 211.8 kB / 356.7 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003555/0.1435, allocations: 1.846 MB / 358.6 MB, free: 5.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.599e-05/0.1435, allocations: 7.984 kB / 358.6 MB, free: 5.562 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001765/0.1437, allocations: 88 kB / 358.7 MB, free: 5.477 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.323e-05/0.1438, allocations: 48 kB / 358.7 MB, free: 5.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003767/0.1475, allocations: 1.89 MB / 360.6 MB, free: 3.523 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01199/0.1595, allocations: 7.266 MB / 367.9 MB, free: 11.97 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003413/0.163, allocations: 2.231 MB / 370.1 MB, free: 9.699 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/0.1631, allocations: 33.97 kB / 370.1 MB, free: 9.668 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.762e-05/0.1632, allocations: 60.56 kB / 370.2 MB, free: 9.602 MB / 318.1 MB Notification: Performance of pre-optimization done (n=234): time 4.258e-06/0.1632, allocations: 0 / 370.2 MB, free: 9.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=361): time 0.2613/0.4245, allocations: 17.19 MB / 387.4 MB, free: 46.29 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07601/0.5005, allocations: 30.28 MB / 417.7 MB, free: 24.7 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/0.5028, allocations: 1.781 MB / 419.4 MB, free: 22.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005664/0.5033, allocations: 85.7 kB / 419.5 MB, free: 22.82 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005037/0.5039, allocations: 0.982 MB / 420.5 MB, free: 21.83 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009145/0.5048, allocations: 1.186 MB / 421.7 MB, free: 20.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.505, allocations: 68 kB / 421.8 MB, free: 20.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.5051, allocations: 428.9 kB / 422.2 MB, free: 20.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00204/0.5071, allocations: 1.197 MB / 423.4 MB, free: 18.96 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002139/0.5093, allocations: 1.486 MB / 424.9 MB, free: 17.42 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002309/0.5116, allocations: 1.374 MB / 426.2 MB, free: 16.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.5116, allocations: 7.719 kB / 426.2 MB, free: 16.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.008613/0.5203, allocations: 4.381 MB / 430.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.5203, allocations: 4 kB / 430.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.5203, allocations: 4 kB / 430.6 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004292/0.5246, allocations: 1.288 MB / 431.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002621/0.5273, allocations: 0.5539 MB / 432.5 MB, free: 9.738 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02103/0.5483, allocations: 18.17 MB / 450.6 MB, free: 6.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002924/0.5513, allocations: 157.5 kB / 450.8 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003845/0.5517, allocations: 112 kB / 450.9 MB, free: 6.402 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (305): * Single equations (assignments): 296 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 4,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 2 {3 54,2 43} Notification: Performance of prepare postOptimizeDAE: time 0.001382/0.5531, allocations: 0.5871 MB / 451.5 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005243/0.5536, allocations: 256.8 kB / 451.7 MB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009912/0.5635, allocations: 4.379 MB / 456.1 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008793/0.5724, allocations: 3.824 MB / 459.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/0.5724, allocations: 4 kB / 460 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.76e-05/0.5725, allocations: 19.92 kB / 460 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0165/0.589, allocations: 8.711 MB / 468.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/0.5891, allocations: 11.98 kB / 468.7 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002178/0.5912, allocations: 471.6 kB / 469.2 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004866/0.5961, allocations: 1.324 MB / 470.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002673/0.5964, allocations: 71.97 kB / 470.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0203/0.6167, allocations: 17 MB / 487.6 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.06981/0.6866, allocations: 26.91 MB / 0.5024 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/0.6992, allocations: 6.137 MB / 0.5084 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/0.7008, allocations: 0.5835 MB / 0.509 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003581/0.7011, allocations: 67.98 kB / 0.509 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/0.7029, allocations: 139.9 kB / 0.5092 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000687/0.7036, allocations: 270.9 kB / 0.5094 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001896/0.7038, allocations: 100.2 kB / 0.5095 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00169/0.7055, allocations: 1.235 MB / 0.5107 GB, free: 12.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.7055, allocations: 3.938 kB / 0.5107 GB, free: 12.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003462/0.7089, allocations: 0.9492 MB / 0.5117 GB, free: 11.41 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (243): * Single equations (assignments): 236 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 5} * Non-linear torn systems: 2 {4 42,5 55} Notification: Performance of Backend phase and start with SimCode phase: time 0.001049/0.71, allocations: 442.8 kB / 0.5121 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007277/0.7173, allocations: 4.432 MB / 0.5164 GB, free: 6.461 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.7173, allocations: 1.062 kB / 0.5164 GB, free: 6.461 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004762/0.7221, allocations: 3.047 MB / 0.5194 GB, free: 3.324 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.7239, allocations: 309.8 kB / 0.5197 GB, free: 3.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1966/0.9206, allocations: 7.995 MB / 0.5275 GB, free: 126.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002128/0.9227, allocations: 1.82 MB / 0.5293 GB, free: 125.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002754/0.9255, allocations: 338.2 kB / 0.5296 GB, free: 125.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007097/0.9262, allocations: 167 kB / 0.5298 GB, free: 125.4 MB / 414.1 MB Notification: Performance of SimCode: time 1.874e-06/0.9262, allocations: 0 / 0.5298 GB, free: 125.4 MB / 414.1 MB Notification: Performance of Templates: time 0.09025/1.016, allocations: 55.53 MB / 0.584 GB, free: 85.32 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStationary/ComparisonQuasiStationary.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches