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.001945/0.001945, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 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.002295/0.002295, allocations: 166 kB / 25.02 MB, free: 8.941 MB / 18.57 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.563/1.563, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.751e-05/2.887e-05, allocations: 2.312 kB / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01678/0.01681, allocations: 9.51 MB / 259.9 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009922/0.02673, allocations: 3.179 MB / 263 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002246/0.02898, allocations: 47.75 kB / 263.1 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002506/0.03148, allocations: 0.6792 MB / 263.8 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003876/0.03536, allocations: 0.95 MB / 264.7 MB, free: 9.387 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002771/0.03813, allocations: 0.9204 MB / 265.6 MB, free: 8.465 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005781/0.04391, allocations: 3.559 MB / 269.2 MB, free: 4.891 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001759/0.04567, allocations: 0.5551 MB / 269.8 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004204/0.04987, allocations: 1.961 MB / 271.7 MB, free: 2.336 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002564/0.05244, allocations: 1.192 MB / 272.9 MB, free: 1.141 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001104/0.05354, allocations: 352 kB / 273.3 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001472/0.05501, allocations: 379.9 kB / 273.6 MB, free: 436 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008081/0.05582, allocations: 0.728 MB / 274.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001481/0.0573, allocations: 1.002 MB / 275.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005624/0.06293, allocations: 4.397 MB / 279.8 MB, free: 10.28 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.557e-06/0.06293, allocations: 4 kB / 279.8 MB, free: 10.28 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.06294, allocations: 0 / 279.8 MB, free: 10.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.602e-05/0.06302, allocations: 0 / 279.8 MB, free: 10.28 MB / 266.7 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.00815/0.07117, allocations: 3.095 MB / 282.9 MB, free: 7.129 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.07122, allocations: 11.98 kB / 282.9 MB, free: 7.117 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008313/0.07205, allocations: 471 kB / 283.3 MB, free: 6.656 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003037/0.07508, allocations: 1.39 MB / 284.7 MB, free: 5.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/0.07526, allocations: 156.5 kB / 284.9 MB, free: 5.074 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003571/0.07561, allocations: 212.3 kB / 285.1 MB, free: 4.867 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004324/0.07994, allocations: 2.011 MB / 287.1 MB, free: 2.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.464e-05/0.07999, allocations: 11.94 kB / 287.1 MB, free: 2.758 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002032/0.08019, allocations: 80 kB / 287.2 MB, free: 2.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-05/0.08024, allocations: 48 kB / 287.2 MB, free: 2.633 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004587/0.08483, allocations: 1.902 MB / 289.1 MB, free: 0.7148 MB / 266.7 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.01299/0.09782, allocations: 5.944 MB / 295.1 MB, free: 10.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004058/0.1019, allocations: 1.984 MB / 297.1 MB, free: 8.637 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003159/0.105, allocations: 1.311 MB / 298.4 MB, free: 7.324 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.1052, allocations: 45.98 kB / 298.4 MB, free: 7.281 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.1053, allocations: 60.5 kB / 298.5 MB, free: 7.211 MB / 282.7 MB Notification: Performance of pre-optimization done (n=234): time 3.998e-06/0.1053, allocations: 0 / 298.5 MB, free: 7.211 MB / 282.7 MB Notification: Performance of matching and sorting (n=351): time 0.09839/0.2037, allocations: 17.23 MB / 315.7 MB, free: 5.895 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.2039, allocations: 90.11 kB / 315.8 MB, free: 5.793 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005368/0.2092, allocations: 1.819 MB / 317.6 MB, free: 3.965 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005917/0.2098, allocations: 81.7 kB / 317.7 MB, free: 3.879 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001564/0.2114, allocations: 0.9829 MB / 318.7 MB, free: 2.887 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002751/0.2141, allocations: 1.196 MB / 319.9 MB, free: 1.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00299/0.2171, allocations: 0.4917 MB / 320.4 MB, free: 1.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002541/0.2174, allocations: 301.1 kB / 320.7 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005833/0.2232, allocations: 1.217 MB / 321.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006018/0.2292, allocations: 1.533 MB / 323.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/0.2397, allocations: 2.878 MB / 326.3 MB, free: 11.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/0.2397, allocations: 4 kB / 326.3 MB, free: 11.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01258/0.2523, allocations: 4.535 MB / 330.8 MB, free: 6.527 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.774e-05/0.2523, allocations: 7.938 kB / 330.8 MB, free: 6.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.954e-05/0.2524, allocations: 15.97 kB / 330.8 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01089/0.2633, allocations: 1.998 MB / 332.8 MB, free: 4.484 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003221/0.2665, allocations: 0.5227 MB / 333.4 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1474/0.4139, allocations: 19.48 MB / 352.8 MB, free: 99.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002823/0.4167, allocations: 105.4 kB / 352.9 MB, free: 99.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006016/0.4173, allocations: 106.3 kB / 353 MB, free: 99.38 MB / 330.7 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.001344/0.4187, allocations: 0.5786 MB / 353.6 MB, free: 99.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006878/0.4194, allocations: 375.5 kB / 354 MB, free: 99.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009601/0.429, allocations: 4.357 MB / 358.4 MB, free: 98.64 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.829e-05/0.429, allocations: 33.16 kB / 358.4 MB, free: 98.64 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.429, allocations: 7.188 kB / 358.4 MB, free: 98.64 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.671e-05/0.429, allocations: 18.14 kB / 358.4 MB, free: 98.64 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01464/0.4437, allocations: 7.31 MB / 365.7 MB, free: 94.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.4437, allocations: 0 / 365.7 MB, free: 94.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002338/0.446, allocations: 460 kB / 366.2 MB, free: 94.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009415/0.4554, allocations: 1.916 MB / 368.1 MB, free: 93.2 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004643/0.4559, allocations: 66.84 kB / 368.2 MB, free: 93.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01894/0.4749, allocations: 18.09 MB / 386.2 MB, free: 74.78 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4749, allocations: 4 kB / 386.2 MB, free: 74.78 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/0.4867, allocations: 6.178 MB / 392.4 MB, free: 68.49 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001385/0.4881, allocations: 0.5371 MB / 393 MB, free: 67.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003602/0.4884, allocations: 63.98 kB / 393 MB, free: 67.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001791/0.4902, allocations: 114.8 kB / 393.1 MB, free: 67.78 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007141/0.4909, allocations: 266.6 kB / 393.4 MB, free: 67.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001783/0.4911, allocations: 92.08 kB / 393.5 MB, free: 67.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001421/0.4925, allocations: 1.261 MB / 394.7 MB, free: 66.17 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4925, allocations: 0 / 394.7 MB, free: 66.17 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002716/0.4952, allocations: 0.8632 MB / 395.6 MB, free: 65.31 MB / 330.7 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.001813/0.497, allocations: 474.9 kB / 396.1 MB, free: 64.95 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006669/0.5037, allocations: 4.279 MB / 400.4 MB, free: 60.56 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.5037, allocations: 0 / 400.4 MB, free: 60.56 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003944/0.5077, allocations: 2.854 MB / 403.2 MB, free: 57.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/0.5096, allocations: 403.5 kB / 403.6 MB, free: 57.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007993/0.5175, allocations: 5.505 MB / 409.1 MB, free: 51.67 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009333/0.5185, allocations: 1.148 MB / 410.3 MB, free: 50.49 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001534/0.52, allocations: 291.2 kB / 410.5 MB, free: 50.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006214/0.5206, allocations: 160.4 kB / 410.7 MB, free: 50.04 MB / 330.7 MB Notification: Performance of SimCode: time 1.373e-06/0.5206, allocations: 0 / 410.7 MB, free: 50.04 MB / 330.7 MB Notification: Performance of Templates: time 0.06374/0.5844, allocations: 51.86 MB / 462.6 MB, free: 13.98 MB / 346.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStationary/ComparisonQuasiStationary.csv","/var/lib/jenkins/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: 7.96942176099401]