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.001646/0.001646, allocations: 110.1 kB / 18.4 MB, free: 4.566 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.001823/0.001823, allocations: 190.3 kB / 19.33 MB, free: 3.648 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.443/1.443, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.00124/0.00124, allocations: 56.39 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1081, allocations: 46.62 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.2194/0.3276, allocations: 10.97 MB / 386.8 MB, free: 7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00649/0.3341, allocations: 3.216 MB / 390 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002374/0.3365, allocations: 38.69 kB / 390 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.3381, allocations: 0.6803 MB / 390.7 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003044/0.3412, allocations: 0.8889 MB / 391.6 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.3432, allocations: 0.9266 MB / 392.5 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004439/0.3476, allocations: 3.456 MB / 396 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.3489, allocations: 0.894 MB / 396.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002075/0.351, allocations: 1.294 MB / 398.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002077/0.3531, allocations: 1.515 MB / 399.7 MB, free: 196 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004974/0.3536, allocations: 348.7 kB / 400 MB, free: 196 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007248/0.3543, allocations: 378.8 kB / 400.4 MB, free: 188 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005845/0.3549, allocations: 0.7157 MB / 401.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001396/0.3563, allocations: 1.479 MB / 402.6 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003997/0.3603, allocations: 4.253 MB / 406.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3604, allocations: 0 / 406.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.3604, allocations: 0 / 406.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.152e-05/0.3605, allocations: 0 / 406.9 MB, free: 11.87 MB / 334.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.007097/0.3676, allocations: 3.133 MB / 410 MB, free: 9.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3676, allocations: 9.312 kB / 410 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005213/0.3681, allocations: 296.8 kB / 410.3 MB, free: 9.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002705/0.3709, allocations: 1.411 MB / 411.7 MB, free: 8.402 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.371, allocations: 156.1 kB / 411.9 MB, free: 8.328 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003335/0.3713, allocations: 206.8 kB / 412.1 MB, free: 8.258 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004376/0.3757, allocations: 1.884 MB / 413.9 MB, free: 7.141 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.317e-05/0.3758, allocations: 5.969 kB / 413.9 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001929/0.376, allocations: 89.38 kB / 414 MB, free: 7.066 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.798e-05/0.3761, allocations: 49.44 kB / 414.1 MB, free: 7.066 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004107/0.3802, allocations: 1.906 MB / 416 MB, free: 6.117 MB / 334.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.01287/0.3931, allocations: 7.372 MB / 423.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003604/0.3967, allocations: 2.293 MB / 425.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00282/0.3995, allocations: 1.417 MB / 427.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.3997, allocations: 37.95 kB / 427.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.3997, allocations: 56.56 kB / 427.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=234): time 3.947e-06/0.3997, allocations: 0 / 427.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=351): time 0.05767/0.4574, allocations: 17.57 MB / 444.7 MB, free: 9.992 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.4575, allocations: 90.11 kB / 444.8 MB, free: 9.891 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00246/0.46, allocations: 1.844 MB / 446.7 MB, free: 8.043 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000259/0.4602, allocations: 81.7 kB / 446.7 MB, free: 7.957 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006872/0.4609, allocations: 0.9772 MB / 447.7 MB, free: 6.969 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008598/0.4618, allocations: 1.159 MB / 448.9 MB, free: 5.793 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008269/0.4626, allocations: 495.5 kB / 449.4 MB, free: 5.301 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.161e-05/0.4627, allocations: 301.1 kB / 449.7 MB, free: 5.004 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002316/0.4651, allocations: 1.225 MB / 450.9 MB, free: 3.777 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002557/0.4676, allocations: 1.525 MB / 452.4 MB, free: 2.191 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005062/0.4727, allocations: 2.878 MB / 455.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.4727, allocations: 3.938 kB / 455.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01004/0.4828, allocations: 4.451 MB / 459.7 MB, free: 10.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.4828, allocations: 4 kB / 459.7 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.4828, allocations: 4 kB / 459.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005119/0.488, allocations: 1.334 MB / 461.1 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002643/0.4906, allocations: 0.5227 MB / 461.6 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02612/0.5167, allocations: 20.59 MB / 482.2 MB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002883/0.5197, allocations: 103.9 kB / 482.3 MB, free: 3.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00027/0.5199, allocations: 112 kB / 482.4 MB, free: 3.043 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (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 (298): * Single equations (assignments): 291 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,4,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,50), (2,43)} Notification: Performance of prepare postOptimizeDAE: time 0.001244/0.5212, allocations: 0.5716 MB / 483 MB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004481/0.5217, allocations: 252.9 kB / 483.2 MB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009815/0.5315, allocations: 4.392 MB / 487.6 MB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.654e-05/0.5315, allocations: 36.14 kB / 487.7 MB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.5315, allocations: 7.922 kB / 487.7 MB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.988e-05/0.5316, allocations: 23.92 kB / 487.7 MB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0157/0.5473, allocations: 8.374 MB / 496.1 MB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/0.5473, allocations: 4 kB / 496.1 MB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00233/0.5497, allocations: 459.6 kB / 496.5 MB, free: 4.691 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00501/0.5547, allocations: 1.263 MB / 497.8 MB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003234/0.555, allocations: 63.98 kB / 497.8 MB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02413/0.5792, allocations: 19.19 MB / 0.5049 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.5792, allocations: 0 / 0.5049 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01424/0.5935, allocations: 6.101 MB / 0.5109 GB, free: 8.945 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001626/0.5951, allocations: 0.6148 MB / 0.5115 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007697/0.5959, allocations: 56 kB / 0.5115 GB, free: 8.254 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002331/0.5983, allocations: 115.9 kB / 0.5116 GB, free: 8.141 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007302/0.599, allocations: 262.7 kB / 0.5119 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002681/0.5993, allocations: 87.98 kB / 0.512 GB, free: 7.797 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002253/0.6015, allocations: 1.29 MB / 0.5132 GB, free: 6.516 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6016, allocations: 0 / 0.5132 GB, free: 6.516 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00368/0.6052, allocations: 0.8711 MB / 0.5141 GB, free: 5.645 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (advancedSolenoid.coil1.i,advancedSolenoid.coil2.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,simpleSolenoid.coil.i,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 (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,41), (3,49)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001198/0.6065, allocations: 449.2 kB / 0.5145 GB, free: 5.195 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008312/0.6148, allocations: 4.449 MB / 0.5189 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.6148, allocations: 1.125 kB / 0.5189 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005039/0.6199, allocations: 2.984 MB / 0.5218 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002748/0.6226, allocations: 385.5 kB / 0.5221 GB, free: 13.18 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.6341, allocations: 5.66 MB / 0.5277 GB, free: 7.438 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002032/0.6362, allocations: 1.706 MB / 0.5293 GB, free: 5.691 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001288/0.6375, allocations: 179.4 kB / 0.5295 GB, free: 5.516 MB / 462.1 MB Notification: Performance of SimCode: time 7.21e-07/0.6375, allocations: 0 / 0.5295 GB, free: 5.516 MB / 462.1 MB Notification: Performance of Templates: time 0.3039/0.9415, allocations: 118.9 MB / 0.6456 GB, free: 71.78 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStationary/ComparisonQuasiStationary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches