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.001281/0.001281, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001493/0.001493, allocations: 168.5 kB / 25.33 MB, free: 9.074 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.9377/0.9377, allocations: 158.6 MB / 187.2 MB, free: 2.891 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.714e-06/1.714e-06, allocations: 0 / 251 MB, free: 3.609 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.742e-05, allocations: 6.312 kB / 251 MB, free: 3.602 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.009169/0.009196, allocations: 10.76 MB / 261.8 MB, free: 8.793 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005809/0.01501, allocations: 3.199 MB / 265 MB, free: 5.574 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001679/0.01668, allocations: 47.75 kB / 265.1 MB, free: 5.527 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.01814, allocations: 0.687 MB / 265.7 MB, free: 4.836 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00235/0.02049, allocations: 0.95 MB / 266.7 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.02204, allocations: 0.9283 MB / 267.6 MB, free: 2.949 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003854/0.0259, allocations: 3.55 MB / 271.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009373/0.02683, allocations: 0.5551 MB / 271.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002776/0.02961, allocations: 1.98 MB / 273.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/0.0312, allocations: 1.212 MB / 274.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006115/0.03181, allocations: 340 kB / 275.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006657/0.03247, allocations: 371.9 kB / 275.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000547/0.03302, allocations: 0.7205 MB / 276.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001251/0.03427, allocations: 0.9898 MB / 277.3 MB, free: 9.188 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002185/0.03646, allocations: 2.235 MB / 279.6 MB, free: 6.945 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.03646, allocations: 3.938 kB / 279.6 MB, free: 6.941 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.03646, allocations: 0 / 279.6 MB, free: 6.941 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.083e-05/0.03654, allocations: 0 / 279.6 MB, free: 6.941 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.004088/0.04063, allocations: 3.172 MB / 282.7 MB, free: 3.707 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.04069, allocations: 11.98 kB / 282.7 MB, free: 3.695 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005307/0.04122, allocations: 475 kB / 283.2 MB, free: 3.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.04259, allocations: 1.283 MB / 284.5 MB, free: 1.914 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.686e-05/0.04269, allocations: 160.5 kB / 284.6 MB, free: 1.754 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002051/0.04289, allocations: 204.4 kB / 284.8 MB, free: 1.555 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.04483, allocations: 1.418 MB / 286.3 MB, free: 48 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.325e-05/0.04488, allocations: 11.83 kB / 286.3 MB, free: 36 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.04501, allocations: 84.08 kB / 286.4 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.611e-05/0.04504, allocations: 52 kB / 286.4 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.04683, allocations: 0.9219 MB / 287.3 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006793/0.05362, allocations: 5.404 MB / 292.7 MB, free: 9.398 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002124/0.05574, allocations: 1.459 MB / 294.2 MB, free: 7.93 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/0.057, allocations: 0.9078 MB / 295.1 MB, free: 7.023 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.0571, allocations: 49.98 kB / 295.2 MB, free: 6.977 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.05714, allocations: 63.33 kB / 295.2 MB, free: 6.902 MB / 282.7 MB Notification: Performance of pre-optimization done (n=234): time 4.548e-06/0.05715, allocations: 0 / 295.2 MB, free: 6.902 MB / 282.7 MB Notification: Performance of matching and sorting (n=351): time 0.1452/0.2023, allocations: 12.89 MB / 308.1 MB, free: 52.83 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/0.2024, allocations: 87.77 kB / 308.2 MB, free: 52.76 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002032/0.2044, allocations: 1.503 MB / 309.7 MB, free: 52.48 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002748/0.2047, allocations: 79.83 kB / 309.8 MB, free: 52.45 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005797/0.2053, allocations: 1.056 MB / 310.8 MB, free: 51.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006895/0.206, allocations: 1.203 MB / 312 MB, free: 50.66 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006624/0.2066, allocations: 0.4993 MB / 312.5 MB, free: 50.4 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.088e-05/0.2067, allocations: 481.5 kB / 313 MB, free: 49.93 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.2078, allocations: 0.5643 MB / 313.6 MB, free: 49.85 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.2089, allocations: 0.929 MB / 314.5 MB, free: 49.46 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/0.2111, allocations: 1.669 MB / 316.2 MB, free: 48.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.2111, allocations: 3.938 kB / 316.2 MB, free: 48.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.004968/0.2161, allocations: 3.137 MB / 319.3 MB, free: 47.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.2161, allocations: 7.531 kB / 319.3 MB, free: 47.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.2161, allocations: 3.688 kB / 319.3 MB, free: 47.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004522/0.2207, allocations: 1.818 MB / 321.1 MB, free: 46.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.2221, allocations: 0.5155 MB / 321.6 MB, free: 46.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01339/0.2354, allocations: 19.32 MB / 341 MB, free: 26.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/0.2373, allocations: 87.97 kB / 341.1 MB, free: 26.37 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.2374, allocations: 112 kB / 341.2 MB, free: 26.26 MB / 282.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.0008069/0.2382, allocations: 320 kB / 341.5 MB, free: 25.94 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000427/0.2386, allocations: 370.3 kB / 341.8 MB, free: 25.57 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00435/0.243, allocations: 3.069 MB / 344.9 MB, free: 22.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.243, allocations: 32 kB / 344.9 MB, free: 22.4 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.243, allocations: 4 kB / 344.9 MB, free: 22.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/0.243, allocations: 15.94 kB / 345 MB, free: 22.38 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007887/0.2509, allocations: 5.695 MB / 350.7 MB, free: 16.63 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.2509, allocations: 4.219 kB / 350.7 MB, free: 16.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.2521, allocations: 455.1 kB / 351.1 MB, free: 16.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004405/0.2565, allocations: 1.754 MB / 352.9 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001907/0.2567, allocations: 63.98 kB / 352.9 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01273/0.2694, allocations: 18.56 MB / 371.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.2694, allocations: 4 kB / 371.5 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007151/0.2765, allocations: 3.906 MB / 375.4 MB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/0.2776, allocations: 0.5449 MB / 375.9 MB, free: 6.344 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002288/0.2779, allocations: 63.94 kB / 376 MB, free: 6.281 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008013/0.2787, allocations: 95.95 kB / 376.1 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005595/0.2792, allocations: 278.5 kB / 376.4 MB, free: 5.914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/0.2794, allocations: 87.98 kB / 376.4 MB, free: 5.828 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009837/0.2803, allocations: 0.9211 MB / 377.4 MB, free: 4.914 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2803, allocations: 0 / 377.4 MB, free: 4.914 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002252/0.2826, allocations: 0.8633 MB / 378.2 MB, free: 4.051 MB / 298.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.001032/0.2836, allocations: 429.2 kB / 378.7 MB, free: 3.672 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.004897/0.2885, allocations: 3.576 MB / 382.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.2885, allocations: 7.938 kB / 382.2 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00267/0.2912, allocations: 2.736 MB / 385 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.2926, allocations: 393.4 kB / 385.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007325/0.2999, allocations: 4.837 MB / 390.2 MB, free: 7.766 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/0.3004, allocations: 0.5212 MB / 390.7 MB, free: 7.215 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009623/0.3014, allocations: 295.8 kB / 391 MB, free: 6.922 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004481/0.3018, allocations: 160.5 kB / 391.2 MB, free: 6.766 MB / 314.7 MB Notification: Performance of SimCode: time 1.864e-06/0.3018, allocations: 0 / 391.2 MB, free: 6.766 MB / 314.7 MB Notification: Performance of Templates: time 0.1764/0.4782, allocations: 55.59 MB / 446.8 MB, free: 119 MB / 362.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: 5.172756427899003]