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.001466/0.001466, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.001683/0.001683, allocations: 186.9 kB / 19.28 MB, free: 3.75 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.506/1.506, 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.001257/0.001257, allocations: 51.92 kB / 282.1 MB, free: 2.441 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0927/0.09397, allocations: 46.63 MB / 328.7 MB, free: 3.734 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01343/0.1074, allocations: 10.99 MB / 339.7 MB, free: 8.688 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007554/0.115, allocations: 3.207 MB / 342.9 MB, free: 5.465 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002624/0.1177, allocations: 39.88 kB / 343 MB, free: 5.426 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001978/0.1198, allocations: 0.6871 MB / 343.6 MB, free: 4.734 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003654/0.1234, allocations: 0.8842 MB / 344.5 MB, free: 3.844 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002595/0.126, allocations: 0.9245 MB / 345.5 MB, free: 2.918 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004866/0.1309, allocations: 3.449 MB / 348.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001563/0.1325, allocations: 0.8982 MB / 349.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001891/0.1344, allocations: 1.293 MB / 351.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002205/0.1366, allocations: 1.506 MB / 352.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007463/0.1374, allocations: 348 kB / 352.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009633/0.1384, allocations: 380 kB / 353.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005884/0.139, allocations: 0.7125 MB / 354 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001371/0.1404, allocations: 1.477 MB / 355.5 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003555/0.1439, allocations: 4.256 MB / 359.8 MB, free: 4.543 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1439, allocations: 0 / 359.8 MB, free: 4.543 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.058e-06/0.1439, allocations: 4 kB / 359.8 MB, free: 4.539 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.051e-05/0.144, allocations: 3.938 kB / 359.8 MB, free: 4.535 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.006895/0.1509, allocations: 3.111 MB / 362.9 MB, free: 1.355 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.151, allocations: 12.03 kB / 362.9 MB, free: 1.344 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000465/0.1514, allocations: 293.5 kB / 363.2 MB, free: 1.055 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002547/0.154, allocations: 1.411 MB / 364.6 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.1541, allocations: 156.5 kB / 364.7 MB, free: 15.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002966/0.1544, allocations: 208 kB / 364.9 MB, free: 15.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00355/0.158, allocations: 1.889 MB / 366.8 MB, free: 13.29 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.024e-05/0.1581, allocations: 4 kB / 366.8 MB, free: 13.28 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/0.1582, allocations: 80 kB / 366.9 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.722e-05/0.1583, allocations: 55.94 kB / 367 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003852/0.1621, allocations: 1.914 MB / 368.9 MB, free: 11.22 MB / 318.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.0117/0.1739, allocations: 7.378 MB / 376.3 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003502/0.1774, allocations: 2.274 MB / 378.5 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1328/0.3102, allocations: 1.366 MB / 379.9 MB, free: 50.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002855/0.3105, allocations: 37.98 kB / 379.9 MB, free: 50.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.3106, allocations: 57.88 kB / 380 MB, free: 50.79 MB / 318.1 MB Notification: Performance of pre-optimization done (n=234): time 4.619e-06/0.3106, allocations: 0 / 380 MB, free: 50.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=351): time 0.05996/0.3705, allocations: 17.58 MB / 397.6 MB, free: 45.12 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.3706, allocations: 88.89 kB / 397.7 MB, free: 45.05 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002764/0.3734, allocations: 1.839 MB / 399.5 MB, free: 44.13 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004263/0.3739, allocations: 80.39 kB / 399.6 MB, free: 44.05 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005543/0.3744, allocations: 0.9789 MB / 400.5 MB, free: 43.19 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009481/0.3754, allocations: 1.157 MB / 401.7 MB, free: 42.12 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00079/0.3762, allocations: 499.4 kB / 402.2 MB, free: 41.62 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.031e-05/0.3762, allocations: 305.1 kB / 402.5 MB, free: 41.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002061/0.3783, allocations: 1.221 MB / 403.7 MB, free: 40.1 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002194/0.3805, allocations: 1.531 MB / 405.2 MB, free: 38.51 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004346/0.3849, allocations: 2.88 MB / 408.1 MB, free: 35.55 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.3849, allocations: 3.609 kB / 408.1 MB, free: 35.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.009286/0.3942, allocations: 4.451 MB / 412.6 MB, free: 31.05 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.3942, allocations: 4 kB / 412.6 MB, free: 31.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.3942, allocations: 6.812 kB / 412.6 MB, free: 31.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005033/0.3993, allocations: 1.326 MB / 413.9 MB, free: 29.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002526/0.4018, allocations: 0.5266 MB / 414.4 MB, free: 29.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02156/0.4234, allocations: 20.59 MB / 435 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002526/0.4259, allocations: 107.9 kB / 435.1 MB, free: 7.539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002474/0.4262, allocations: 99.98 kB / 435.2 MB, free: 7.441 MB / 318.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.001042/0.4273, allocations: 0.5833 MB / 435.8 MB, free: 6.848 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003811/0.4276, allocations: 252.9 kB / 436.1 MB, free: 6.598 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009139/0.4368, allocations: 4.403 MB / 440.5 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.4368, allocations: 36 kB / 440.5 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.4368, allocations: 0 / 440.5 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.532e-05/0.4369, allocations: 19.88 kB / 440.5 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01562/0.4525, allocations: 8.37 MB / 448.9 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/0.4525, allocations: 7.938 kB / 448.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002447/0.455, allocations: 459.7 kB / 449.3 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005417/0.4604, allocations: 1.258 MB / 450.6 MB, free: 7.891 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005698/0.461, allocations: 63.98 kB / 450.7 MB, free: 7.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0242/0.4852, allocations: 19.19 MB / 469.9 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.4853, allocations: 0 / 469.9 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0135/0.4988, allocations: 6.109 MB / 476 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/0.5003, allocations: 0.611 MB / 476.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00033/0.5006, allocations: 63.98 kB / 476.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/0.5023, allocations: 103.9 kB / 476.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00064/0.503, allocations: 266.7 kB / 477 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001903/0.5032, allocations: 83.98 kB / 477.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001638/0.5048, allocations: 1.29 MB / 478.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.743e-06/0.5049, allocations: 0 / 478.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002639/0.5075, allocations: 0.8683 MB / 479.2 MB, free: 10.18 MB / 366.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.001052/0.5086, allocations: 454.5 kB / 479.7 MB, free: 9.754 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007854/0.5164, allocations: 4.452 MB / 484.1 MB, free: 5.188 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/0.5165, allocations: 4 kB / 484.1 MB, free: 5.184 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004774/0.5212, allocations: 2.976 MB / 487.1 MB, free: 2.117 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/0.5232, allocations: 381.7 kB / 487.5 MB, free: 1.742 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009395/0.5326, allocations: 5.597 MB / 493.1 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/0.534, allocations: 1.706 MB / 494.8 MB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001611/0.5357, allocations: 288.1 kB / 495.1 MB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006262/0.5363, allocations: 159.4 kB / 495.2 MB, free: 9.898 MB / 382.1 MB Notification: Performance of SimCode: time 3.387e-06/0.5363, allocations: 0 / 495.2 MB, free: 9.898 MB / 382.1 MB Notification: Performance of Templates: time 0.2328/0.7691, allocations: 52.25 MB / 0.5346 GB, free: 128.9 MB / 414.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 -s gbode -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