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.001882/0.001882, allocations: 98.66 kB / 21.93 MB, free: 5.207 MB / 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.002242/0.002242, allocations: 202.2 kB / 25.22 MB, free: 3.141 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.474/1.474, allocations: 207.7 MB / 236.1 MB, free: 9.773 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.001845/0.001845, allocations: 55.92 kB / 348.4 MB, free: 9.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3015, allocations: 49.15 MB / 397.6 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01094/0.3125, allocations: 9.494 MB / 407.1 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008114/0.3206, allocations: 3.175 MB / 410.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002616/0.3232, allocations: 46 kB / 410.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.3248, allocations: 0.6842 MB / 411 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003484/0.3283, allocations: 0.9116 MB / 411.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003258/0.3316, allocations: 0.9301 MB / 412.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006331/0.3379, allocations: 3.455 MB / 416.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/0.3391, allocations: 0.5538 MB / 416.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002645/0.3418, allocations: 1.325 MB / 418.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002952/0.3447, allocations: 1.374 MB / 419.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006207/0.3453, allocations: 349.8 kB / 419.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009435/0.3463, allocations: 375.8 kB / 420.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007207/0.347, allocations: 0.7171 MB / 421 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001514/0.3485, allocations: 1.192 MB / 422.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005227/0.3538, allocations: 4.303 MB / 426.5 MB, free: 6.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3538, allocations: 1.438 kB / 426.5 MB, free: 6.109 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3538, allocations: 0 / 426.5 MB, free: 6.109 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001106/0.3539, allocations: 0 / 426.5 MB, free: 6.109 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.008162/0.362, allocations: 3.125 MB / 429.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.3621, allocations: 15.98 kB / 429.6 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005446/0.3626, allocations: 307 kB / 429.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003026/0.3657, allocations: 1.348 MB / 431.3 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.3658, allocations: 160.5 kB / 431.4 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003496/0.3662, allocations: 212.1 kB / 431.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004078/0.3703, allocations: 2.011 MB / 433.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.567e-05/0.3703, allocations: 4 kB / 433.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001856/0.3705, allocations: 84 kB / 433.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.573e-05/0.3705, allocations: 48 kB / 433.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004276/0.3748, allocations: 1.906 MB / 435.7 MB, free: 12.82 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.3878, allocations: 5.883 MB / 441.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003805/0.3916, allocations: 1.98 MB / 443.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002982/0.3946, allocations: 1.299 MB / 444.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001307/0.3947, allocations: 33.92 kB / 444.9 MB, free: 3.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.776e-05/0.3948, allocations: 60.5 kB / 444.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of pre-optimization done (n=234): time 4.849e-06/0.3948, allocations: 0 / 444.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=351): time 0.06334/0.4581, allocations: 17.13 MB / 462 MB, free: 2.195 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.954e-05/0.4582, allocations: 90.16 kB / 462.1 MB, free: 2.094 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003029/0.4612, allocations: 1.823 MB / 464 MB, free: 268 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004032/0.4616, allocations: 81.7 kB / 464 MB, free: 180 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001031/0.4627, allocations: 0.9751 MB / 465 MB, free: 15.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001366/0.464, allocations: 1.22 MB / 466.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009593/0.465, allocations: 499.5 kB / 466.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.4652, allocations: 309.1 kB / 467 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002828/0.468, allocations: 1.217 MB / 468.2 MB, free: 11.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0031/0.4711, allocations: 1.537 MB / 469.8 MB, free: 10.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005893/0.477, allocations: 2.874 MB / 472.6 MB, free: 7.391 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.48e-05/0.477, allocations: 0 / 472.6 MB, free: 7.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.0115/0.4885, allocations: 4.413 MB / 477.1 MB, free: 2.926 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.4885, allocations: 7.984 kB / 477.1 MB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/0.4886, allocations: 8 kB / 477.1 MB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005542/0.4941, allocations: 1.314 MB / 478.4 MB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002863/0.497, allocations: 0.5266 MB / 478.9 MB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03083/0.5278, allocations: 19.38 MB / 498.3 MB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002754/0.5305, allocations: 99.94 kB / 498.4 MB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002769/0.5308, allocations: 112 kB / 498.5 MB, free: 12.74 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.001522/0.5323, allocations: 0.5755 MB / 499.1 MB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006164/0.533, allocations: 262.3 kB / 499.3 MB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/0.5442, allocations: 4.348 MB / 0.4919 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.713e-05/0.5442, allocations: 39.94 kB / 0.4919 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.5443, allocations: 7.984 kB / 0.4919 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.183e-05/0.5443, allocations: 19.88 kB / 0.4919 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01789/0.5622, allocations: 7.299 MB / 0.4991 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/0.5622, allocations: 48 / 0.4991 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002516/0.5647, allocations: 463.3 kB / 0.4995 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005466/0.5702, allocations: 1.251 MB / 0.5007 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003634/0.5705, allocations: 67.92 kB / 0.5008 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02859/0.5991, allocations: 17.98 MB / 0.5184 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5991, allocations: 0 / 0.5184 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0155/0.6146, allocations: 6.071 MB / 0.5243 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001802/0.6164, allocations: 0.5487 MB / 0.5248 GB, free: 4.746 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006073/0.617, allocations: 63.94 kB / 0.5249 GB, free: 4.684 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002198/0.6192, allocations: 111.9 kB / 0.525 GB, free: 4.574 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008048/0.62, allocations: 274.5 kB / 0.5253 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002291/0.6203, allocations: 91.97 kB / 0.5253 GB, free: 4.215 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002462/0.6227, allocations: 1.253 MB / 0.5266 GB, free: 2.969 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6227, allocations: 0 / 0.5266 GB, free: 2.969 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003725/0.6265, allocations: 0.8594 MB / 0.5274 GB, free: 2.109 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.001861/0.6283, allocations: 468.4 kB / 0.5278 GB, free: 1.637 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009412/0.6377, allocations: 4.285 MB / 0.532 GB, free: 13.24 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/0.6377, allocations: 0 / 0.532 GB, free: 13.24 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005742/0.6435, allocations: 2.84 MB / 0.5348 GB, free: 10.31 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002787/0.6463, allocations: 377.5 kB / 0.5352 GB, free: 9.941 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01359/0.6599, allocations: 5.748 MB / 0.5408 GB, free: 4.109 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/0.6618, allocations: 1.148 MB / 0.5419 GB, free: 2.926 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001427/0.6633, allocations: 179.4 kB / 0.5421 GB, free: 2.75 MB / 462.1 MB Notification: Performance of SimCode: time 1.412e-06/0.6633, allocations: 0 / 0.5421 GB, free: 2.75 MB / 462.1 MB Notification: Performance of Templates: time 0.3083/0.9716, allocations: 119.9 MB / 0.6591 GB, free: 61.36 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStationary/ComparisonQuasiStationary.csv","/var/lib/jenkins1/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: 13.413575090002269]