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.001461/0.001461, allocations: 82.5 kB / 21.43 MB, free: 296 kB / 14.72 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.001754/0.001754, allocations: 160.8 kB / 24.7 MB, free: 3.551 MB / 14.72 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 1.369/1.369, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] 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.443e-06/1.443e-06, allocations: 0 / 298.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.456e-05, allocations: 2.281 kB / 298.9 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01261/0.01264, allocations: 9.502 MB / 308.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008028/0.02067, allocations: 3.172 MB / 311.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00159/0.02226, allocations: 43.75 kB / 311.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.02365, allocations: 0.6909 MB / 312.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002655/0.02631, allocations: 0.9422 MB / 313.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.02832, allocations: 0.9476 MB / 314.2 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005128/0.03344, allocations: 3.551 MB / 317.8 MB, free: 5.789 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.03469, allocations: 0.5551 MB / 318.4 MB, free: 5.207 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003328/0.03802, allocations: 1.965 MB / 320.3 MB, free: 3.238 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001942/0.03996, allocations: 1.196 MB / 321.5 MB, free: 2.039 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005441/0.0405, allocations: 348 kB / 321.9 MB, free: 1.699 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006507/0.04115, allocations: 376 kB / 322.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000696/0.04185, allocations: 0.728 MB / 322.9 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1572/0.1991, allocations: 0.9958 MB / 323.9 MB, free: 19.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00484/0.2039, allocations: 4.391 MB / 328.3 MB, free: 18.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.2039, allocations: 1 kB / 328.3 MB, free: 18.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2039, allocations: 0 / 328.3 MB, free: 18.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.915e-05/0.204, allocations: 0.5938 kB / 328.3 MB, free: 18.96 MB / 302.1 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.006945/0.211, allocations: 3.093 MB / 331.4 MB, free: 17.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.211, allocations: 13.58 kB / 331.4 MB, free: 17.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005414/0.2115, allocations: 305.5 kB / 331.7 MB, free: 17.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002805/0.2144, allocations: 1.349 MB / 333.1 MB, free: 17.01 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.2145, allocations: 156.6 kB / 333.2 MB, free: 17 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003275/0.2148, allocations: 202 kB / 333.4 MB, free: 17 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003564/0.2184, allocations: 2.016 MB / 335.5 MB, free: 16.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.332e-05/0.2184, allocations: 7.062 kB / 335.5 MB, free: 16.4 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/0.2186, allocations: 85.38 kB / 335.5 MB, free: 16.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-05/0.2187, allocations: 50.66 kB / 335.6 MB, free: 16.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003671/0.2223, allocations: 1.902 MB / 337.5 MB, free: 15.63 MB / 302.1 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.01023/0.2326, allocations: 5.873 MB / 343.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002994/0.2356, allocations: 1.992 MB / 345.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00238/0.2379, allocations: 1.302 MB / 346.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.2381, allocations: 35.52 kB / 346.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.2381, allocations: 56.66 kB / 346.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=234): time 4.448e-06/0.2381, allocations: 0 / 346.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=351): time 0.06005/0.2981, allocations: 17.13 MB / 363.9 MB, free: 11.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/0.2982, allocations: 90.11 kB / 364 MB, free: 11.47 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00279/0.301, allocations: 1.819 MB / 365.8 MB, free: 9.641 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003196/0.3013, allocations: 81.7 kB / 365.9 MB, free: 9.555 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008271/0.3022, allocations: 0.9819 MB / 366.8 MB, free: 8.566 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001135/0.3033, allocations: 1.193 MB / 368 MB, free: 7.391 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00101/0.3043, allocations: 0.4956 MB / 368.5 MB, free: 6.887 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3044, allocations: 301.1 kB / 368.8 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002721/0.3072, allocations: 1.221 MB / 370.1 MB, free: 5.367 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003052/0.3102, allocations: 1.524 MB / 371.6 MB, free: 3.781 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00604/0.3163, allocations: 2.886 MB / 374.5 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/0.3163, allocations: 0 / 374.5 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01188/0.3282, allocations: 4.405 MB / 378.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/0.3282, allocations: 8 kB / 378.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.578e-05/0.3282, allocations: 15.92 kB / 378.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005958/0.3342, allocations: 1.318 MB / 380.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003311/0.3375, allocations: 0.5297 MB / 380.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03059/0.3681, allocations: 19.36 MB / 400.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002936/0.371, allocations: 104 kB / 400.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002782/0.3713, allocations: 108 kB / 400.3 MB, free: 6.414 MB / 350.1 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.001447/0.3727, allocations: 0.5819 MB / 400.9 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005034/0.3732, allocations: 270.3 kB / 401.2 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/0.3843, allocations: 4.336 MB / 405.5 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.082e-05/0.3843, allocations: 32 kB / 405.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.3843, allocations: 4 kB / 405.5 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.465e-05/0.3844, allocations: 23.86 kB / 405.5 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01697/0.4013, allocations: 7.296 MB / 412.8 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.591e-05/0.4014, allocations: 7.984 kB / 412.9 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002788/0.4041, allocations: 462.5 kB / 413.3 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005689/0.4098, allocations: 1.255 MB / 414.6 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006318/0.4105, allocations: 63.98 kB / 414.6 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02624/0.4367, allocations: 17.97 MB / 432.6 MB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.565e-06/0.4367, allocations: 7.75 kB / 432.6 MB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01484/0.4516, allocations: 6.06 MB / 438.7 MB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001722/0.4533, allocations: 0.5449 MB / 439.2 MB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004168/0.4537, allocations: 67.89 kB / 439.3 MB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001829/0.4555, allocations: 107.9 kB / 439.4 MB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007323/0.4563, allocations: 270.2 kB / 439.6 MB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002247/0.4565, allocations: 91.98 kB / 439.7 MB, free: 14.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001901/0.4584, allocations: 1.257 MB / 441 MB, free: 13.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4584, allocations: 0.9375 kB / 441 MB, free: 13.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003036/0.4614, allocations: 0.8672 MB / 441.9 MB, free: 12.23 MB / 398.1 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.001732/0.4632, allocations: 466.2 kB / 442.3 MB, free: 11.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00882/0.472, allocations: 4.274 MB / 446.6 MB, free: 7.465 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.472, allocations: 5.125 kB / 446.6 MB, free: 7.461 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005372/0.4774, allocations: 2.848 MB / 449.4 MB, free: 4.578 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/0.4799, allocations: 373.5 kB / 449.8 MB, free: 4.211 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/0.4917, allocations: 5.433 MB / 455.2 MB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001511/0.4933, allocations: 1.144 MB / 456.4 MB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001862/0.4951, allocations: 287.8 kB / 456.7 MB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007323/0.4958, allocations: 156.5 kB / 456.8 MB, free: 13.11 MB / 414.1 MB Notification: Performance of SimCode: time 1.352e-06/0.4958, allocations: 0 / 456.8 MB, free: 13.11 MB / 414.1 MB Notification: Performance of Templates: time 0.2463/0.7421, allocations: 51.6 MB / 0.4965 GB, free: 133.8 MB / 430.1 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: 7.671612285077572]