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.001476/0.001476, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001465/0.001465, allocations: 159 kB / 25.74 MB, free: 8.926 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.8908/0.8908, allocations: 158.6 MB / 187.5 MB, free: 2.926 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.283e-06/1.283e-06, allocations: 0 / 251.1 MB, free: 7.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.891e-05, allocations: 2.312 kB / 251.1 MB, free: 7.805 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.009007/0.009026, allocations: 10.71 MB / 261.8 MB, free: 13.05 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005058/0.01408, allocations: 3.207 MB / 265 MB, free: 9.82 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007882/0.01487, allocations: 47.75 kB / 265.1 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.01602, allocations: 0.683 MB / 265.7 MB, free: 9.086 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.0173, allocations: 0.9539 MB / 266.7 MB, free: 8.125 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.01847, allocations: 0.9205 MB / 267.6 MB, free: 7.203 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002219/0.02069, allocations: 3.555 MB / 271.2 MB, free: 3.637 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006352/0.02133, allocations: 0.5551 MB / 271.7 MB, free: 3.047 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001701/0.02303, allocations: 1.965 MB / 273.7 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009604/0.02399, allocations: 1.228 MB / 274.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002844/0.02427, allocations: 352 kB / 275.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003514/0.02462, allocations: 375.9 kB / 275.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003917/0.02501, allocations: 0.7358 MB / 276.4 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006422/0.02566, allocations: 1.005 MB / 277.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.02728, allocations: 2.266 MB / 279.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.02728, allocations: 0 / 279.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.02729, allocations: 4 kB / 279.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.807e-05/0.0273, allocations: 0 / 279.6 MB, free: 11.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.003803/0.03111, allocations: 3.203 MB / 282.8 MB, free: 7.848 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.03114, allocations: 11.98 kB / 282.9 MB, free: 7.836 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004206/0.03156, allocations: 467 kB / 283.3 MB, free: 7.379 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.03309, allocations: 1.354 MB / 284.7 MB, free: 5.988 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.752e-05/0.03318, allocations: 160.5 kB / 284.8 MB, free: 5.828 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/0.03338, allocations: 208.3 kB / 285 MB, free: 5.625 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.0352, allocations: 1.418 MB / 286.4 MB, free: 4.117 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.544e-05/0.03523, allocations: 3.938 kB / 286.5 MB, free: 4.113 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.03535, allocations: 88 kB / 286.5 MB, free: 4.027 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.03538, allocations: 52 kB / 286.6 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/0.0372, allocations: 0.9219 MB / 287.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006399/0.0436, allocations: 5.4 MB / 292.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002202/0.0458, allocations: 1.47 MB / 294.4 MB, free: 12 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/0.04706, allocations: 0.9039 MB / 295.3 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.04716, allocations: 45.98 kB / 295.3 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.0472, allocations: 63.33 kB / 295.4 MB, free: 10.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=234): time 3.306e-06/0.0472, allocations: 3.938 kB / 295.4 MB, free: 10.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=351): time 0.0263/0.0735, allocations: 12.9 MB / 308.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.07355, allocations: 94.11 kB / 308.4 MB, free: 13.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.0751, allocations: 1.508 MB / 309.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001402/0.07524, allocations: 81.7 kB / 310 MB, free: 12.26 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000546/0.07578, allocations: 1.057 MB / 311 MB, free: 11.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006398/0.07642, allocations: 1.197 MB / 312.2 MB, free: 9.984 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005836/0.07701, allocations: 0.4989 MB / 312.7 MB, free: 9.473 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.0771, allocations: 476.8 kB / 313.2 MB, free: 9.004 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.07812, allocations: 0.5645 MB / 313.8 MB, free: 8.438 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.07932, allocations: 0.9229 MB / 314.7 MB, free: 7.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00243/0.08175, allocations: 1.666 MB / 316.3 MB, free: 5.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.258e-06/0.08176, allocations: 4 kB / 316.3 MB, free: 5.656 MB / 298.7 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.005222/0.08698, allocations: 3.136 MB / 319.5 MB, free: 2.461 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.087, allocations: 11.94 kB / 319.5 MB, free: 2.449 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.08701, allocations: 4 kB / 319.5 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004653/0.09167, allocations: 1.818 MB / 321.3 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.09296, allocations: 0.5188 MB / 321.8 MB, free: 84 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01478/0.1077, allocations: 19.32 MB / 341.2 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.1089, allocations: 95.91 kB / 341.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.1091, allocations: 108 kB / 341.4 MB, free: 11.7 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.0006207/0.1097, allocations: 312.2 kB / 341.7 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004045/0.1101, allocations: 378.2 kB / 342 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00511/0.1152, allocations: 3.071 MB / 345.1 MB, free: 7.863 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.1152, allocations: 36 kB / 345.1 MB, free: 7.828 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1152, allocations: 7.938 kB / 345.1 MB, free: 7.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.88e-05/0.1152, allocations: 15.94 kB / 345.2 MB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007995/0.1232, allocations: 5.691 MB / 350.8 MB, free: 1.961 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.1232, allocations: 8.031 kB / 350.9 MB, free: 1.953 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/0.1244, allocations: 443.4 kB / 351.3 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1192/0.2436, allocations: 1.752 MB / 353 MB, free: 100 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005201/0.2441, allocations: 66.84 kB / 353.1 MB, free: 100 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.012/0.2561, allocations: 18.56 MB / 371.7 MB, free: 86.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.2561, allocations: 3.969 kB / 371.7 MB, free: 86.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006264/0.2624, allocations: 3.912 MB / 375.6 MB, free: 84.94 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008861/0.2633, allocations: 0.5457 MB / 376.1 MB, free: 84.65 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002335/0.2635, allocations: 67.42 kB / 376.2 MB, free: 84.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008128/0.2643, allocations: 98.17 kB / 376.3 MB, free: 84.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005284/0.2649, allocations: 267.2 kB / 376.6 MB, free: 84.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/0.265, allocations: 92.66 kB / 376.6 MB, free: 84.49 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008769/0.2659, allocations: 0.9195 MB / 377.6 MB, free: 83.78 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2659, allocations: 0 / 377.6 MB, free: 83.78 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001802/0.2677, allocations: 0.87 MB / 378.4 MB, free: 82.92 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.0008798/0.2686, allocations: 426.3 kB / 378.8 MB, free: 82.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003724/0.2723, allocations: 3.582 MB / 382.4 MB, free: 79.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/0.2723, allocations: 4 kB / 382.4 MB, free: 79.29 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002306/0.2746, allocations: 2.747 MB / 385.2 MB, free: 76.67 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.2758, allocations: 387.4 kB / 385.6 MB, free: 76.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006287/0.2821, allocations: 4.815 MB / 390.4 MB, free: 71.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/0.2826, allocations: 0.5173 MB / 390.9 MB, free: 70.95 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001072/0.2837, allocations: 291.8 kB / 391.2 MB, free: 70.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004347/0.2841, allocations: 160.5 kB / 391.3 MB, free: 70.5 MB / 330.7 MB Notification: Performance of SimCode: time 2.605e-06/0.2841, allocations: 3.828 kB / 391.3 MB, free: 70.5 MB / 330.7 MB Notification: Performance of Templates: time 0.05455/0.3387, allocations: 53.55 MB / 444.9 MB, free: 16.77 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.91105192899704]