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.0008118/0.0008118, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001223/0.002034, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.000742/0.000742, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009462/0.001688, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9855/0.9855, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1631/1.149, allocations: 49.49 MB / 220.6 MB, free: 1.445 MB / 218.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.643e-06/1.643e-06, allocations: 0 / 221.8 MB, free: 188 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.329e-05, allocations: 14.05 kB / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.009211/0.009234, allocations: 10.54 MB / 232.4 MB, free: 5.578 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007563/0.0168, allocations: 3.365 MB / 235.7 MB, free: 2.191 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002425/0.01922, allocations: 43.75 kB / 235.8 MB, free: 2.148 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.02099, allocations: 0.7026 MB / 236.5 MB, free: 1.441 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003362/0.02435, allocations: 0.9422 MB / 237.4 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.02627, allocations: 0.9204 MB / 238.4 MB, free: 15.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004328/0.0306, allocations: 3.532 MB / 241.9 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009925/0.03159, allocations: 0.5785 MB / 242.5 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003514/0.03511, allocations: 2.227 MB / 244.7 MB, free: 9.152 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001792/0.0369, allocations: 1.173 MB / 245.9 MB, free: 7.977 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007754/0.03767, allocations: 340 kB / 246.2 MB, free: 7.645 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006218/0.0383, allocations: 375.9 kB / 246.6 MB, free: 7.277 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003752/0.03867, allocations: 0.5491 MB / 247.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009438/0.03962, allocations: 0.8148 MB / 247.9 MB, free: 5.91 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002286/0.0419, allocations: 2.055 MB / 250 MB, free: 3.848 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.486e-05/0.04193, allocations: 0 / 250 MB, free: 3.848 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.04193, allocations: 0 / 250 MB, free: 3.848 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.013e-05/0.042, allocations: 0 / 250 MB, free: 3.848 MB / 250.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.004426/0.04643, allocations: 3.539 MB / 253.5 MB, free: 268 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.04648, allocations: 8.031 kB / 253.5 MB, free: 260 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004838/0.04697, allocations: 356.7 kB / 253.9 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.04826, allocations: 0.8903 MB / 254.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-05/0.04836, allocations: 156.5 kB / 254.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001887/0.04855, allocations: 212.3 kB / 255.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.05009, allocations: 1.312 MB / 256.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.012e-05/0.05014, allocations: 15.88 kB / 256.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.05024, allocations: 80 kB / 256.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.06e-05/0.05027, allocations: 52 kB / 256.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008825/0.05115, allocations: 0.5982 MB / 257.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006082/0.05724, allocations: 4.022 MB / 261.2 MB, free: 8.281 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.05854, allocations: 1.249 MB / 262.5 MB, free: 7.012 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009224/0.05946, allocations: 0.7722 MB / 263.2 MB, free: 6.246 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.05957, allocations: 49.98 kB / 263.3 MB, free: 6.195 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.05961, allocations: 60.56 kB / 263.3 MB, free: 6.129 MB / 266.7 MB Notification: Performance of pre-optimization done (n=234): time 5.099e-06/0.05962, allocations: 0 / 263.3 MB, free: 6.129 MB / 266.7 MB Notification: Performance of matching and sorting (n=351): time 0.0263/0.08592, allocations: 12.7 MB / 276 MB, free: 9.348 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.08599, allocations: 90.17 kB / 276.1 MB, free: 9.246 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.08718, allocations: 1.351 MB / 277.5 MB, free: 7.883 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001177/0.0873, allocations: 81.7 kB / 277.5 MB, free: 7.797 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004174/0.08772, allocations: 0.7319 MB / 278.3 MB, free: 7.055 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006671/0.08839, allocations: 1.208 MB / 279.5 MB, free: 5.836 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005435/0.08893, allocations: 0.507 MB / 280 MB, free: 5.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.403e-05/0.08902, allocations: 301.1 kB / 280.3 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005229/0.08955, allocations: 354.3 kB / 280.6 MB, free: 4.676 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006962/0.09024, allocations: 0.6696 MB / 281.3 MB, free: 3.945 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/0.09172, allocations: 1.302 MB / 282.6 MB, free: 2.562 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.09173, allocations: 0 / 282.6 MB, free: 2.562 MB / 282.7 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.003488/0.09521, allocations: 2.252 MB / 284.9 MB, free: 272 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.09524, allocations: 8 kB / 284.9 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.09526, allocations: 7.938 kB / 284.9 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1337/0.229, allocations: 1.695 MB / 286.6 MB, free: 50.37 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00208/0.2311, allocations: 0.6261 MB / 287.2 MB, free: 50.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01475/0.2458, allocations: 13.59 MB / 300.8 MB, free: 41.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/0.248, allocations: 96.81 kB / 300.9 MB, free: 41.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002716/0.2483, allocations: 75.67 kB / 301 MB, free: 41.64 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.0008074/0.2491, allocations: 282.5 kB / 301.2 MB, free: 41.49 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000462/0.2496, allocations: 264.5 kB / 301.5 MB, free: 41.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005061/0.2546, allocations: 2.368 MB / 303.9 MB, free: 40.83 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/0.2546, allocations: 32.16 kB / 303.9 MB, free: 40.83 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.2546, allocations: 2.875 kB / 303.9 MB, free: 40.83 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.978e-05/0.2547, allocations: 17.48 kB / 303.9 MB, free: 40.83 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005996/0.2607, allocations: 3.952 MB / 307.9 MB, free: 39.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.2607, allocations: 3.844 kB / 307.9 MB, free: 39.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/0.2619, allocations: 0.5366 MB / 308.4 MB, free: 39.96 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006905/0.2626, allocations: 254.8 kB / 308.6 MB, free: 39.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003597/0.2662, allocations: 1.651 MB / 310.3 MB, free: 39.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001445/0.2663, allocations: 69.97 kB / 310.4 MB, free: 39.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007941/0.2743, allocations: 13.02 MB / 323.4 MB, free: 26.04 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.2743, allocations: 7.938 kB / 323.4 MB, free: 26.04 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003938/0.2782, allocations: 2.926 MB / 326.3 MB, free: 23.08 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000352/0.2786, allocations: 71.03 kB / 326.4 MB, free: 23.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008653/0.2794, allocations: 95.95 kB / 326.5 MB, free: 22.92 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005183/0.2799, allocations: 262.6 kB / 326.7 MB, free: 22.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.576e-05/0.28, allocations: 67.97 kB / 326.8 MB, free: 22.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006097/0.2806, allocations: 0.7083 MB / 327.5 MB, free: 21.96 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2806, allocations: 4 kB / 327.5 MB, free: 21.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002099/0.2827, allocations: 0.8638 MB / 328.4 MB, free: 21.09 MB / 282.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.001155/0.2839, allocations: 0.5575 MB / 328.9 MB, free: 20.58 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003105/0.287, allocations: 2.77 MB / 331.7 MB, free: 17.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.011e-05/0.2871, allocations: 54.84 kB / 331.8 MB, free: 17.7 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001784/0.2889, allocations: 2.154 MB / 333.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.2902, allocations: 0.5794 MB / 334.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008619/0.2988, allocations: 4.776 MB / 339.3 MB, free: 10.14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005106/0.2993, allocations: 0.5359 MB / 339.8 MB, free: 9.574 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.001208/0.3005, allocations: 283.9 kB / 340.1 MB, free: 9.293 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000775/0.3013, allocations: 453.1 kB / 340.5 MB, free: 8.852 MB / 282.7 MB Notification: Performance of SimCode: time 2.835e-06/0.3013, allocations: 0 / 340.5 MB, free: 8.852 MB / 282.7 MB Notification: Performance of Templates: time 0.06686/0.3681, allocations: 57.54 MB / 398.1 MB, free: 15.13 MB / 346.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 -ignoreHideResult -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.846070293337107]