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.001553/0.001553, allocations: 103.6 kB / 21.18 MB, free: 472 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.002082/0.002082, allocations: 214.4 kB / 24.47 MB, free: 3.793 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.513/1.513, allocations: 207.7 MB / 235.3 MB, free: 9.785 MB / 190.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 63.89 kB / 347.7 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3303, allocations: 49.16 MB / 396.8 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01121/0.3415, allocations: 9.481 MB / 406.3 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008585/0.3501, allocations: 3.179 MB / 409.5 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002974/0.3531, allocations: 46 kB / 409.6 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002229/0.3553, allocations: 0.6842 MB / 410.2 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005265/0.3605, allocations: 0.9111 MB / 411.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00341/0.364, allocations: 0.9277 MB / 412.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006805/0.3708, allocations: 3.46 MB / 415.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.3723, allocations: 0.5575 MB / 416.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003042/0.3753, allocations: 1.322 MB / 417.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003769/0.3791, allocations: 1.373 MB / 418.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001079/0.3801, allocations: 350 kB / 419.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.3818, allocations: 387 kB / 419.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001323/0.3831, allocations: 0.7098 MB / 420.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003061/0.3862, allocations: 1.188 MB / 421.4 MB, free: 9.504 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007073/0.3933, allocations: 4.304 MB / 425.7 MB, free: 6.129 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3933, allocations: 0 / 425.7 MB, free: 6.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3933, allocations: 4 kB / 425.7 MB, free: 6.125 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001773/0.3934, allocations: 1.25 kB / 425.7 MB, free: 6.125 MB / 334.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.008964/0.4024, allocations: 3.121 MB / 428.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.4025, allocations: 15.92 kB / 428.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000526/0.403, allocations: 307 kB / 429.2 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002921/0.4059, allocations: 1.34 MB / 430.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.406, allocations: 160.5 kB / 430.6 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003165/0.4064, allocations: 208.1 kB / 430.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003941/0.4103, allocations: 2.022 MB / 432.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.497e-05/0.4104, allocations: 4 kB / 432.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/0.4105, allocations: 80 kB / 433 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.514e-05/0.4106, allocations: 48 kB / 433 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004123/0.4147, allocations: 1.906 MB / 434.9 MB, free: 12.84 MB / 350.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.013/0.4277, allocations: 5.879 MB / 440.8 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003943/0.4316, allocations: 1.992 MB / 442.8 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002932/0.4346, allocations: 1.296 MB / 444.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001263/0.4347, allocations: 33.98 kB / 444.1 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.049e-05/0.4348, allocations: 56.56 kB / 444.2 MB, free: 3.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=234): time 4.418e-06/0.4348, allocations: 0 / 444.2 MB, free: 3.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=351): time 0.06269/0.4975, allocations: 17.13 MB / 461.3 MB, free: 2.223 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.175e-05/0.4976, allocations: 86.17 kB / 461.4 MB, free: 2.125 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003127/0.5007, allocations: 1.823 MB / 463.2 MB, free: 300 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003832/0.5011, allocations: 85.69 kB / 463.3 MB, free: 208 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001009/0.5021, allocations: 0.9751 MB / 464.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001322/0.5034, allocations: 1.216 MB / 465.5 MB, free: 13.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009166/0.5043, allocations: 0.4917 MB / 466 MB, free: 13.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.5045, allocations: 313.1 kB / 466.3 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002656/0.5071, allocations: 1.213 MB / 467.5 MB, free: 11.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00299/0.5101, allocations: 1.533 MB / 469 MB, free: 10.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005857/0.516, allocations: 2.874 MB / 471.9 MB, free: 7.422 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.516, allocations: 0 / 471.9 MB, free: 7.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01161/0.5276, allocations: 4.425 MB / 476.3 MB, free: 2.945 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.5276, allocations: 4 kB / 476.3 MB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.5276, allocations: 8 kB / 476.3 MB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005501/0.5331, allocations: 1.318 MB / 477.6 MB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002851/0.536, allocations: 0.5227 MB / 478.2 MB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02914/0.5651, allocations: 19.37 MB / 497.5 MB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002888/0.568, allocations: 103.9 kB / 497.6 MB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002834/0.5683, allocations: 111.9 kB / 497.7 MB, free: 12.77 MB / 414.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.001313/0.5696, allocations: 0.5795 MB / 498.3 MB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005123/0.5701, allocations: 262.3 kB / 498.6 MB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01081/0.5809, allocations: 4.356 MB / 0.4911 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.625e-05/0.581, allocations: 36 kB / 0.4912 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.581, allocations: 4 kB / 0.4912 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.084e-05/0.581, allocations: 15.94 kB / 0.4912 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01841/0.5994, allocations: 7.288 MB / 0.4983 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-05/0.5995, allocations: 19.89 kB / 0.4983 GB, free: 8 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002612/0.6021, allocations: 455.4 kB / 0.4988 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00528/0.6073, allocations: 1.251 MB / 0.5 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004441/0.6078, allocations: 75.91 kB / 0.5001 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02582/0.6336, allocations: 17.97 MB / 0.5176 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.6336, allocations: 8 kB / 0.5176 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01391/0.6475, allocations: 6.071 MB / 0.5235 GB, free: 5.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001715/0.6492, allocations: 0.541 MB / 0.5241 GB, free: 4.777 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003308/0.6496, allocations: 67.92 kB / 0.5241 GB, free: 4.711 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/0.6512, allocations: 107.9 kB / 0.5242 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006988/0.6519, allocations: 278.5 kB / 0.5245 GB, free: 4.332 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001901/0.6521, allocations: 91.98 kB / 0.5246 GB, free: 4.242 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0018/0.6539, allocations: 1.257 MB / 0.5258 GB, free: 2.992 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6539, allocations: 0 / 0.5258 GB, free: 2.992 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002728/0.6567, allocations: 0.8594 MB / 0.5267 GB, free: 2.133 MB / 446.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.001656/0.6583, allocations: 468.5 kB / 0.5271 GB, free: 1.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008508/0.6668, allocations: 4.29 MB / 0.5313 GB, free: 13.26 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.6668, allocations: 4.125 kB / 0.5313 GB, free: 13.26 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005127/0.672, allocations: 2.839 MB / 0.5341 GB, free: 10.33 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/0.6739, allocations: 369.5 kB / 0.5344 GB, free: 9.965 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/0.6846, allocations: 5.684 MB / 0.54 GB, free: 4.203 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001355/0.686, allocations: 1.144 MB / 0.5411 GB, free: 3.023 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001801/0.6878, allocations: 283.8 kB / 0.5414 GB, free: 2.742 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006333/0.6884, allocations: 159.4 kB / 0.5415 GB, free: 2.586 MB / 462.1 MB Notification: Performance of SimCode: time 8.72e-07/0.6884, allocations: 0 / 0.5415 GB, free: 2.586 MB / 462.1 MB Notification: Performance of Templates: time 0.2632/0.9516, allocations: 54.95 MB / 0.5952 GB, free: 128.3 MB / 478.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: 8.097279377281666]