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.0009815/0.0009815, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.001195/0.001195, allocations: 160.4 kB / 25.45 MB, free: 9.352 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.9164/0.9164, allocations: 158.6 MB / 187.2 MB, free: 3.047 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 2.405e-06/2.405e-06, allocations: 0 / 299.7 MB, free: 6.922 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.381e-05/3.622e-05, allocations: 2.281 kB / 299.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01126/0.0113, allocations: 9.502 MB / 309.2 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006744/0.01804, allocations: 3.176 MB / 312.4 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.01934, allocations: 47.75 kB / 312.4 MB, free: 10.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.02044, allocations: 0.6792 MB / 313.1 MB, free: 9.445 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002466/0.02291, allocations: 0.9539 MB / 314.1 MB, free: 8.484 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001915/0.02482, allocations: 0.9243 MB / 315 MB, free: 7.559 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003746/0.02857, allocations: 3.566 MB / 318.5 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009727/0.02954, allocations: 0.5551 MB / 319.1 MB, free: 3.402 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002841/0.03238, allocations: 1.957 MB / 321.1 MB, free: 1.441 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001865/0.03425, allocations: 1.192 MB / 322.2 MB, free: 252 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007351/0.03498, allocations: 348 kB / 322.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005258/0.03551, allocations: 383.9 kB / 323 MB, free: 15.53 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003858/0.0359, allocations: 0.728 MB / 323.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007887/0.03668, allocations: 1.001 MB / 324.7 MB, free: 13.8 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003058/0.03974, allocations: 4.393 MB / 329.1 MB, free: 9.391 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.03975, allocations: 0 / 329.1 MB, free: 9.391 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.03975, allocations: 0 / 329.1 MB, free: 9.391 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.475e-05/0.03983, allocations: 0 / 329.1 MB, free: 9.391 MB / 314.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.004275/0.0441, allocations: 3.088 MB / 332.2 MB, free: 6.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.04414, allocations: 19.98 kB / 332.2 MB, free: 6.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003552/0.0445, allocations: 303 kB / 332.5 MB, free: 5.934 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.04626, allocations: 1.339 MB / 333.8 MB, free: 4.555 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-05/0.04635, allocations: 156.5 kB / 334 MB, free: 4.398 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002108/0.04656, allocations: 208.3 kB / 334.2 MB, free: 4.195 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002592/0.04915, allocations: 2.019 MB / 336.2 MB, free: 2.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.002e-05/0.04919, allocations: 3.938 kB / 336.2 MB, free: 2.086 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.04932, allocations: 88 kB / 336.3 MB, free: 2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.04934, allocations: 51.98 kB / 336.3 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00255/0.05189, allocations: 1.894 MB / 338.2 MB, free: 40 kB / 314.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.008277/0.06017, allocations: 5.885 MB / 344.1 MB, free: 9.996 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002304/0.06247, allocations: 1.981 MB / 346.1 MB, free: 8.016 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/0.06417, allocations: 1.303 MB / 347.4 MB, free: 6.715 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.4e-05/0.06426, allocations: 29.98 kB / 347.4 MB, free: 6.684 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.0643, allocations: 68.5 kB / 347.5 MB, free: 6.609 MB / 330.7 MB Notification: Performance of pre-optimization done (n=234): time 4.107e-06/0.06431, allocations: 0 / 347.5 MB, free: 6.609 MB / 330.7 MB Notification: Performance of matching and sorting (n=351): time 0.1672/0.2315, allocations: 17.13 MB / 364.6 MB, free: 55.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.2316, allocations: 92.86 kB / 364.7 MB, free: 55.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/0.2334, allocations: 1.818 MB / 366.5 MB, free: 54.6 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002247/0.2336, allocations: 81.45 kB / 366.6 MB, free: 54.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003489/0.234, allocations: 0.9827 MB / 367.6 MB, free: 53.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004997/0.2345, allocations: 1.204 MB / 368.8 MB, free: 52.97 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004868/0.2349, allocations: 0.4904 MB / 369.3 MB, free: 52.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.939e-05/0.235, allocations: 301.1 kB / 369.6 MB, free: 52.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/0.2363, allocations: 1.215 MB / 370.8 MB, free: 51.92 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.2378, allocations: 1.532 MB / 372.3 MB, free: 51.17 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002824/0.2406, allocations: 2.875 MB / 375.2 MB, free: 48.67 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.2406, allocations: 8 kB / 375.2 MB, free: 48.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.005259/0.2458, allocations: 4.409 MB / 379.6 MB, free: 44.56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.2459, allocations: 8 kB / 379.6 MB, free: 44.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.2459, allocations: 7.938 kB / 379.6 MB, free: 44.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002389/0.2483, allocations: 1.317 MB / 381 MB, free: 43.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.2495, allocations: 0.5305 MB / 381.5 MB, free: 42.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01264/0.2621, allocations: 19.36 MB / 400.8 MB, free: 22.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.2638, allocations: 108.9 kB / 401 MB, free: 22.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.2639, allocations: 108 kB / 401.1 MB, free: 22.45 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.0009072/0.2648, allocations: 0.5832 MB / 401.6 MB, free: 21.85 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002675/0.2651, allocations: 262.3 kB / 401.9 MB, free: 21.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005012/0.2701, allocations: 4.339 MB / 406.2 MB, free: 17.19 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.2701, allocations: 36 kB / 406.3 MB, free: 17.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.2701, allocations: 0 / 406.3 MB, free: 17.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/0.2701, allocations: 23.88 kB / 406.3 MB, free: 17.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008379/0.2785, allocations: 7.298 MB / 413.6 MB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.2785, allocations: 0 / 413.6 MB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/0.2796, allocations: 463.3 kB / 414 MB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002265/0.2819, allocations: 1.255 MB / 415.3 MB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000155/0.282, allocations: 71.97 kB / 415.4 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01286/0.2949, allocations: 17.97 MB / 433.3 MB, free: 5.355 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2949, allocations: 0 / 433.3 MB, free: 5.355 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008106/0.303, allocations: 6.071 MB / 439.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/0.3041, allocations: 0.541 MB / 440 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/0.3043, allocations: 63.92 kB / 440 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008206/0.3051, allocations: 111.9 kB / 440.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004624/0.3056, allocations: 270.7 kB / 440.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.3057, allocations: 87.98 kB / 440.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001112/0.3068, allocations: 1.253 MB / 441.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3068, allocations: 0 / 441.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001863/0.3087, allocations: 0.8672 MB / 442.6 MB, free: 12 MB / 362.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.0007487/0.3094, allocations: 478.8 kB / 443.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00481/0.3142, allocations: 4.276 MB / 447.3 MB, free: 7.164 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3142, allocations: 0 / 447.3 MB, free: 7.164 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002823/0.3171, allocations: 2.844 MB / 450.2 MB, free: 4.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.3184, allocations: 369.5 kB / 450.6 MB, free: 3.867 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006681/0.3251, allocations: 5.509 MB / 456.1 MB, free: 14.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009018/0.326, allocations: 1.144 MB / 457.2 MB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008069/0.3268, allocations: 184.4 kB / 457.4 MB, free: 12.93 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.3268, allocations: 0 / 457.4 MB, free: 12.93 MB / 378.7 MB Notification: Performance of Templates: time 0.2021/0.5289, allocations: 119.8 MB / 0.5637 GB, free: 97.58 MB / 426.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: 8.42659031227231]