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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 116.2 kB / 21.94 MB, free: 20 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002038/0.002038, allocations: 212.7 kB / 25.24 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,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=5002,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") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 55.92 kB / 348.4 MB, free: 9.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2571, allocations: 49.17 MB / 397.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01413/0.2712, allocations: 11.06 MB / 408.7 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009853/0.2811, allocations: 3.242 MB / 411.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003025/0.2841, allocations: 47.38 kB / 412 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002383/0.2865, allocations: 0.6835 MB / 412.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004711/0.2912, allocations: 0.9059 MB / 413.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003713/0.2949, allocations: 0.9327 MB / 414.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007588/0.3025, allocations: 3.448 MB / 417.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001887/0.3044, allocations: 0.5998 MB / 418.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003294/0.3077, allocations: 1.32 MB / 419.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003853/0.3115, allocations: 1.541 MB / 421.4 MB, free: 9.164 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001125/0.3127, allocations: 349.8 kB / 421.7 MB, free: 9.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.3141, allocations: 384.4 kB / 422.1 MB, free: 9.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009647/0.3151, allocations: 0.7169 MB / 422.8 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00276/0.3178, allocations: 1.476 MB / 424.3 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005825/0.3237, allocations: 4.27 MB / 428.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3237, allocations: 0 / 428.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3237, allocations: 0 / 428.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001166/0.3238, allocations: 8.969 kB / 428.6 MB, free: 4.035 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.008656/0.3325, allocations: 3.122 MB / 431.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.3325, allocations: 11.98 kB / 431.7 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006053/0.3331, allocations: 311 kB / 432 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003072/0.3362, allocations: 1.344 MB / 433.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.3363, allocations: 156.5 kB / 433.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003231/0.3367, allocations: 212.1 kB / 433.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003903/0.3406, allocations: 1.897 MB / 435.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.606e-05/0.3406, allocations: 0 / 435.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001866/0.3408, allocations: 80 kB / 435.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-05/0.3408, allocations: 55.83 kB / 435.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004096/0.3449, allocations: 1.91 MB / 437.6 MB, free: 11.11 MB / 350.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.01447/0.3594, allocations: 7.269 MB / 444.9 MB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003869/0.3633, allocations: 1.994 MB / 446.9 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002919/0.3662, allocations: 1.292 MB / 448.2 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001469/0.3663, allocations: 37.97 kB / 448.2 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/0.3664, allocations: 60.56 kB / 448.3 MB, free: 164 kB / 350.1 MB Notification: Performance of pre-optimization done (n=234): time 4.068e-06/0.3664, allocations: 0 / 448.3 MB, free: 164 kB / 350.1 MB Notification: Performance of matching and sorting (n=351): time 0.06654/0.4329, allocations: 17.13 MB / 465.4 MB, free: 14.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.191e-05/0.433, allocations: 86.17 kB / 465.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003263/0.4363, allocations: 1.848 MB / 467.4 MB, free: 12.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004551/0.4367, allocations: 81.7 kB / 467.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009193/0.4377, allocations: 0.9949 MB / 468.4 MB, free: 11.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001534/0.4392, allocations: 1.22 MB / 469.7 MB, free: 10.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001359/0.4406, allocations: 499.5 kB / 470.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.4407, allocations: 305.1 kB / 470.4 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002917/0.4436, allocations: 1.221 MB / 471.7 MB, free: 8.652 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003231/0.4469, allocations: 1.533 MB / 473.2 MB, free: 7.059 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006366/0.4532, allocations: 2.874 MB / 476.1 MB, free: 4.105 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.426e-05/0.4532, allocations: 4 kB / 476.1 MB, free: 4.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01198/0.4652, allocations: 4.417 MB / 480.5 MB, free: 15.63 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.4652, allocations: 4 kB / 480.5 MB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.4653, allocations: 8 kB / 480.5 MB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005746/0.471, allocations: 1.322 MB / 481.8 MB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003002/0.474, allocations: 0.5305 MB / 482.4 MB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03205/0.5061, allocations: 19.89 MB / 0.4905 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002741/0.5088, allocations: 103.9 kB / 0.4906 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005855/0.5094, allocations: 111.9 kB / 0.4907 GB, free: 8.84 MB / 414.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.001995/0.5114, allocations: 0.5832 MB / 0.4912 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008723/0.5123, allocations: 266.3 kB / 0.4915 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/0.5243, allocations: 4.349 MB / 0.4958 GB, free: 3.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-05/0.5244, allocations: 36 kB / 0.4958 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.956e-05/0.5244, allocations: 7.938 kB / 0.4958 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.586e-05/0.5244, allocations: 15.94 kB / 0.4958 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0213/0.5457, allocations: 8.299 MB / 0.5039 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.552e-05/0.5458, allocations: 7.938 kB / 0.5039 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002709/0.5485, allocations: 451.4 kB / 0.5044 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00577/0.5542, allocations: 1.262 MB / 0.5056 GB, free: 9.312 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004968/0.5547, allocations: 63.98 kB / 0.5056 GB, free: 9.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02827/0.583, allocations: 18.49 MB / 0.5237 GB, free: 5.953 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.583, allocations: 0 / 0.5237 GB, free: 5.953 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0157/0.5987, allocations: 6.075 MB / 0.5296 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001696/0.6004, allocations: 0.5488 MB / 0.5302 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006752/0.6011, allocations: 64 kB / 0.5302 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002158/0.6032, allocations: 103.9 kB / 0.5303 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007366/0.604, allocations: 282.5 kB / 0.5306 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002704/0.6042, allocations: 87.98 kB / 0.5307 GB, free: 14.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002552/0.6068, allocations: 1.286 MB / 0.5319 GB, free: 13.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6068, allocations: 0 / 0.5319 GB, free: 13.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003561/0.6104, allocations: 0.8633 MB / 0.5328 GB, free: 12.54 MB / 462.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.001671/0.612, allocations: 448.6 kB / 0.5332 GB, free: 12.08 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00907/0.6211, allocations: 4.285 MB / 0.5374 GB, free: 7.688 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.966e-06/0.6211, allocations: 0 / 0.5374 GB, free: 7.688 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005684/0.6268, allocations: 2.848 MB / 0.5402 GB, free: 4.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002746/0.6295, allocations: 385.6 kB / 0.5405 GB, free: 4.371 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01278/0.6423, allocations: 5.751 MB / 0.5462 GB, free: 14.54 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0022/0.6445, allocations: 1.714 MB / 0.5478 GB, free: 12.79 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001456/0.646, allocations: 179.4 kB / 0.548 GB, free: 12.61 MB / 478.1 MB Notification: Performance of SimCode: time 1.894e-06/0.646, allocations: 0 / 0.548 GB, free: 12.61 MB / 478.1 MB Notification: Performance of Templates: time 0.2818/0.9278, allocations: 119 MB / 0.6642 GB, free: 57.26 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.507730497978628]