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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.193/1.193, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008951/0.0008951, allocations: 97.55 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001055, allocations: 43.94 kB / 327.2 MB, free: 320 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2244, allocations: 46.62 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.009064/0.2335, allocations: 10.9 MB / 384.7 MB, free: 37.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006287/0.2398, allocations: 3.175 MB / 387.9 MB, free: 34.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002282/0.2421, allocations: 38.81 kB / 387.9 MB, free: 34.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001301/0.2436, allocations: 0.5862 MB / 388.5 MB, free: 34.1 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002654/0.2462, allocations: 0.7705 MB / 389.3 MB, free: 33.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.2479, allocations: 0.8269 MB / 390.1 MB, free: 32.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003195/0.2511, allocations: 3.237 MB / 393.4 MB, free: 29.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008002/0.2519, allocations: 0.7806 MB / 394.1 MB, free: 29.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.253, allocations: 1.101 MB / 395.2 MB, free: 28 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009617/0.254, allocations: 1.381 MB / 396.6 MB, free: 26.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002289/0.2542, allocations: 168 kB / 396.8 MB, free: 26.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000356/0.2546, allocations: 196 kB / 397 MB, free: 26.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003057/0.2549, allocations: 0.5368 MB / 397.5 MB, free: 25.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007321/0.2557, allocations: 1.298 MB / 398.8 MB, free: 24.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00193/0.2576, allocations: 4.084 MB / 402.9 MB, free: 20.31 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2576, allocations: 0 / 402.9 MB, free: 20.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2576, allocations: 4 kB / 402.9 MB, free: 20.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.966e-05/0.2576, allocations: 0 / 402.9 MB, free: 20.31 MB / 298.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.005283/0.2629, allocations: 3.107 MB / 406 MB, free: 17.13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.263, allocations: 12.03 kB / 406 MB, free: 17.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000318/0.2633, allocations: 293.4 kB / 406.3 MB, free: 16.83 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/0.265, allocations: 1.387 MB / 407.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.489e-05/0.2651, allocations: 156.5 kB / 407.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/0.2653, allocations: 208 kB / 408 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002718/0.2681, allocations: 1.893 MB / 409.9 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.173e-05/0.2681, allocations: 4 kB / 409.9 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/0.2683, allocations: 87.94 kB / 410 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.2683, allocations: 48 kB / 410.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003075/0.2714, allocations: 1.91 MB / 412 MB, free: 11.02 MB / 298.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.008779/0.2802, allocations: 7.445 MB / 419.4 MB, free: 3.285 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002805/0.283, allocations: 2.281 MB / 421.7 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002222/0.2852, allocations: 1.366 MB / 423.1 MB, free: 15.6 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001301/0.2854, allocations: 37.91 kB / 423.1 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.803e-05/0.2854, allocations: 64.56 kB / 423.2 MB, free: 15.49 MB / 314.7 MB Notification: Performance of pre-optimization done (n=234): time 5.18e-06/0.2854, allocations: 0 / 423.2 MB, free: 15.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=351): time 0.05634/0.3418, allocations: 17.58 MB / 440.8 MB, free: 13.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.3419, allocations: 86.17 kB / 440.8 MB, free: 13.61 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002261/0.3442, allocations: 1.84 MB / 442.7 MB, free: 11.76 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003493/0.3445, allocations: 81.7 kB / 442.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006521/0.3452, allocations: 0.9772 MB / 443.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009218/0.3461, allocations: 1.159 MB / 444.9 MB, free: 9.512 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008171/0.3469, allocations: 495.5 kB / 445.4 MB, free: 9.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3471, allocations: 309.1 kB / 445.7 MB, free: 8.715 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002365/0.3494, allocations: 1.225 MB / 446.9 MB, free: 7.488 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002511/0.352, allocations: 1.529 MB / 448.4 MB, free: 5.898 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004868/0.3568, allocations: 2.87 MB / 451.3 MB, free: 2.949 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-06/0.3569, allocations: 4 kB / 451.3 MB, free: 2.945 MB / 330.7 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.009916/0.3668, allocations: 4.451 MB / 455.8 MB, free: 14.44 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.3669, allocations: 8 kB / 455.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.3669, allocations: 4 kB / 455.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005114/0.372, allocations: 1.334 MB / 457.1 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002674/0.3747, allocations: 0.5227 MB / 457.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02277/0.3975, allocations: 18.87 MB / 476.5 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/0.3999, allocations: 112 kB / 476.6 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/0.4001, allocations: 104 kB / 476.7 MB, free: 8.523 MB / 362.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.001006/0.4011, allocations: 0.5809 MB / 477.3 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003727/0.4015, allocations: 252.9 kB / 477.5 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00935/0.4108, allocations: 4.4 MB / 481.9 MB, free: 3.219 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.332e-05/0.4109, allocations: 32 kB / 482 MB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.4109, allocations: 4 kB / 482 MB, free: 3.184 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.959e-05/0.411, allocations: 15.94 kB / 482 MB, free: 3.168 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01469/0.4256, allocations: 8.402 MB / 490.4 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.4257, allocations: 4 kB / 490.4 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002197/0.4279, allocations: 463.3 kB / 490.9 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004773/0.4327, allocations: 1.255 MB / 492.1 MB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002404/0.4329, allocations: 75.97 kB / 492.2 MB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02027/0.4532, allocations: 17.5 MB / 0.4977 GB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.4533, allocations: 7.984 kB / 0.4977 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2485/0.7018, allocations: 55.1 MB / 0.5516 GB, free: 85.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008524/0.7027, allocations: 0.6184 MB / 0.5522 GB, free: 84.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002462/0.703, allocations: 67.92 kB / 0.5522 GB, free: 84.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/0.7045, allocations: 108 kB / 0.5523 GB, free: 84.37 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005685/0.7051, allocations: 250.8 kB / 0.5526 GB, free: 84.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/0.7052, allocations: 95.98 kB / 0.5527 GB, free: 84.03 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001219/0.7064, allocations: 1.29 MB / 0.5539 GB, free: 82.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7065, allocations: 3 kB / 0.5539 GB, free: 82.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003819/0.7103, allocations: 1.301 MB / 0.5552 GB, free: 81.45 MB / 394.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.0009101/0.7112, allocations: 438.7 kB / 0.5556 GB, free: 81.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005791/0.717, allocations: 4.439 MB / 0.5599 GB, free: 76.54 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.717, allocations: 0 / 0.5599 GB, free: 76.54 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003471/0.7205, allocations: 2.964 MB / 0.5628 GB, free: 73.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/0.7222, allocations: 365.7 kB / 0.5632 GB, free: 73.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.7334, allocations: 10.16 MB / 0.5731 GB, free: 62.83 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/0.7345, allocations: 1.825 MB / 0.5749 GB, free: 60.96 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002211/0.7368, allocations: 340.1 kB / 0.5752 GB, free: 60.63 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009139/0.7377, allocations: 187.4 kB / 0.5754 GB, free: 60.45 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.7377, allocations: 0 / 0.5754 GB, free: 60.45 MB / 394.7 MB Notification: Performance of Templates: time 0.09998/0.8377, allocations: 82.28 MB / 0.6557 GB, free: 9.949 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStationary/ComparisonQuasiStationary.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches