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.001026/0.001026, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001079/0.001079, allocations: 161.2 kB / 25.6 MB, free: 8.895 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 0.9449/0.9449, allocations: 158.6 MB / 187.5 MB, free: 2.812 MB / 170.7 MB " [Timeout remaining time 179] 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.844e-06/1.844e-06, allocations: 0 / 251.5 MB, free: 7.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.327e-05/1.511e-05, allocations: 2.312 kB / 251.5 MB, free: 7.348 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.008216/0.008231, allocations: 10.44 MB / 261.9 MB, free: 12.86 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004043/0.01227, allocations: 3.195 MB / 265.1 MB, free: 9.645 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006644/0.01294, allocations: 47.75 kB / 265.1 MB, free: 9.598 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007958/0.01373, allocations: 0.6909 MB / 265.8 MB, free: 8.902 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.01499, allocations: 0.9577 MB / 266.8 MB, free: 7.938 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.01604, allocations: 0.9244 MB / 267.7 MB, free: 7.012 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002543/0.01858, allocations: 3.551 MB / 271.3 MB, free: 3.449 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006101/0.01919, allocations: 0.559 MB / 271.8 MB, free: 2.855 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001556/0.02075, allocations: 1.98 MB / 273.8 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.02176, allocations: 1.212 MB / 275 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002924/0.02205, allocations: 340 kB / 275.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003682/0.02242, allocations: 364 kB / 275.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003589/0.02278, allocations: 0.728 MB / 276.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000621/0.0234, allocations: 0.9859 MB / 277.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.02507, allocations: 2.238 MB / 279.7 MB, free: 11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.02508, allocations: 4 kB / 279.7 MB, free: 11 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.02508, allocations: 0 / 279.7 MB, free: 11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.688e-05/0.02509, allocations: 0 / 279.7 MB, free: 11 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.003079/0.02817, allocations: 3.195 MB / 282.9 MB, free: 7.742 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.02821, allocations: 15.98 kB / 282.9 MB, free: 7.727 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003784/0.02859, allocations: 467 kB / 283.3 MB, free: 7.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.02968, allocations: 1.268 MB / 284.6 MB, free: 5.969 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003266/0.03001, allocations: 164.5 kB / 284.8 MB, free: 5.805 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/0.03018, allocations: 208.4 kB / 285 MB, free: 5.602 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.03149, allocations: 1.27 MB / 286.2 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.525e-05/0.03152, allocations: 7.891 kB / 286.2 MB, free: 4.234 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.03163, allocations: 80 kB / 286.3 MB, free: 4.156 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/0.03166, allocations: 52 kB / 286.4 MB, free: 4.105 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009291/0.03259, allocations: 0.7111 MB / 287.1 MB, free: 3.367 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006167/0.03875, allocations: 5.156 MB / 292.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.04004, allocations: 1.326 MB / 293.6 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009422/0.04098, allocations: 0.8217 MB / 294.4 MB, free: 11.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.04109, allocations: 57.92 kB / 294.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.04112, allocations: 63.33 kB / 294.5 MB, free: 11.78 MB / 282.7 MB Notification: Performance of pre-optimization done (n=234): time 3.456e-06/0.04113, allocations: 0 / 294.5 MB, free: 11.78 MB / 282.7 MB Notification: Performance of matching and sorting (n=351): time 0.02886/0.06998, allocations: 11.85 MB / 306.4 MB, free: 15.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.07004, allocations: 94.11 kB / 306.4 MB, free: 15.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.07141, allocations: 1.452 MB / 307.9 MB, free: 14.26 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001369/0.07155, allocations: 85.7 kB / 308 MB, free: 14.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006758/0.07223, allocations: 1.081 MB / 309.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000735/0.07296, allocations: 1.208 MB / 310.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007333/0.0737, allocations: 0.5143 MB / 310.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.07381, allocations: 480.7 kB / 311.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007968/0.0746, allocations: 430.1 kB / 311.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.07567, allocations: 0.7937 MB / 312.5 MB, free: 9.559 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002256/0.07793, allocations: 1.412 MB / 313.9 MB, free: 8.043 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.07794, allocations: 0 / 313.9 MB, free: 8.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.005055/0.08299, allocations: 2.824 MB / 316.7 MB, free: 5.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.08301, allocations: 8 kB / 316.7 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.08303, allocations: 12.09 kB / 316.7 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005218/0.08824, allocations: 1.79 MB / 318.5 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/0.08983, allocations: 0.5149 MB / 319 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01642/0.1062, allocations: 18.75 MB / 337.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.1074, allocations: 92 kB / 337.9 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/0.1075, allocations: 87.97 kB / 337.9 MB, free: 15.08 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.0005968/0.1081, allocations: 312.1 kB / 338.3 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004635/0.1086, allocations: 370.3 kB / 338.6 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004979/0.1136, allocations: 2.79 MB / 341.4 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.337e-05/0.1136, allocations: 35.98 kB / 341.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.1136, allocations: 4 kB / 341.4 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.482e-05/0.1136, allocations: 15.94 kB / 341.5 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006844/0.1205, allocations: 5.19 MB / 346.6 MB, free: 6.145 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.1205, allocations: 4 kB / 346.7 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.1215, allocations: 443.4 kB / 347.1 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004057/0.1256, allocations: 1.731 MB / 348.8 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/0.1257, allocations: 67.98 kB / 348.9 MB, free: 3.879 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1326/0.2583, allocations: 18.07 MB / 366.9 MB, free: 85.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2583, allocations: 7.719 kB / 367 MB, free: 85.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004609/0.2629, allocations: 3.486 MB / 370.4 MB, free: 84.99 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006781/0.2636, allocations: 0.5485 MB / 371 MB, free: 84.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.2637, allocations: 62.81 kB / 371.1 MB, free: 84.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006993/0.2644, allocations: 93.94 kB / 371.1 MB, free: 84.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003428/0.2648, allocations: 272.7 kB / 371.4 MB, free: 84.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.2649, allocations: 71.69 kB / 371.5 MB, free: 84.47 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005594/0.2655, allocations: 0.8299 MB / 372.3 MB, free: 84.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2655, allocations: 0 / 372.3 MB, free: 84.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001594/0.267, allocations: 0.8606 MB / 373.2 MB, free: 84.01 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.0007602/0.2678, allocations: 429.1 kB / 373.6 MB, free: 83.72 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00253/0.2703, allocations: 3.337 MB / 376.9 MB, free: 80.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2703, allocations: 0 / 376.9 MB, free: 80.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001614/0.272, allocations: 2.625 MB / 379.6 MB, free: 78.31 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009118/0.2729, allocations: 382.8 kB / 379.9 MB, free: 77.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004498/0.2774, allocations: 4.735 MB / 384.7 MB, free: 73.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.2777, allocations: 0.5129 MB / 385.2 MB, free: 73.16 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000768/0.2785, allocations: 287.8 kB / 385.5 MB, free: 72.88 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007996/0.2793, allocations: 489.4 kB / 385.9 MB, free: 72.4 MB / 330.7 MB Notification: Performance of SimCode: time 7.41e-07/0.2793, allocations: 0 / 385.9 MB, free: 72.4 MB / 330.7 MB Notification: Performance of Templates: time 0.04945/0.3287, allocations: 56.66 MB / 442.6 MB, free: 15.64 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.622077747713774]