Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000769/0.0007691, allocations: 90.23 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 174 kB / 17.56 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002614/0.0002615, allocations: 7.938 kB / 301.4 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1048, allocations: 50.41 MB / 351.8 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.005963/0.1109, allocations: 4.572 MB / 356.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003769/0.1147, allocations: 2.028 MB / 358.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005041/0.1152, allocations: 16 kB / 358.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009749/0.1162, allocations: 310.8 kB / 358.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.1179, allocations: 0.5202 MB / 359.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.1202, allocations: 0.9929 MB / 360.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001123/0.1213, allocations: 0.7043 MB / 361 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00242/0.1237, allocations: 1.241 MB / 362.2 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000532/0.1243, allocations: 274.9 kB / 362.5 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006333/0.1249, allocations: 386.3 kB / 362.9 MB, free: 8.363 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.1251, allocations: 32 kB / 362.9 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009771/0.126, allocations: 355.6 kB / 363.2 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.1262, allocations: 127.4 kB / 363.4 MB, free: 7.859 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004276/0.1266, allocations: 363.8 kB / 363.7 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.1283, allocations: 1.129 MB / 364.9 MB, free: 6.363 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1283, allocations: 7.938 kB / 364.9 MB, free: 6.355 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1283, allocations: 0 / 364.9 MB, free: 6.355 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.67e-05/0.1283, allocations: 0 / 364.9 MB, free: 6.355 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004339/0.1327, allocations: 1.327 MB / 366.2 MB, free: 4.977 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1327, allocations: 8.031 kB / 366.2 MB, free: 4.969 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002708/0.1355, allocations: 387.6 kB / 366.6 MB, free: 4.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.1358, allocations: 253 kB / 366.8 MB, free: 4.301 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.136, allocations: 66.38 kB / 366.9 MB, free: 4.238 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002449/0.1362, allocations: 76.38 kB / 367 MB, free: 4.164 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.1381, allocations: 0.8956 MB / 367.9 MB, free: 3.254 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.648e-05/0.1382, allocations: 7.906 kB / 367.9 MB, free: 3.246 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.713e-05/0.1383, allocations: 36 kB / 367.9 MB, free: 3.211 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.1383, allocations: 20 kB / 367.9 MB, free: 3.191 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/0.1403, allocations: 0.8315 MB / 368.7 MB, free: 2.363 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1883/0.3286, allocations: 2.954 MB / 371.7 MB, free: 22.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.3299, allocations: 1.004 MB / 372.7 MB, free: 22.06 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005665/0.3305, allocations: 257.6 kB / 373 MB, free: 22.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.169e-05/0.3306, allocations: 98.27 kB / 373.1 MB, free: 21.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.3306, allocations: 39.12 kB / 373.1 MB, free: 21.92 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 3.216e-06/0.3306, allocations: 0 / 373.1 MB, free: 21.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.008913/0.3395, allocations: 2.697 MB / 375.8 MB, free: 21.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.3396, allocations: 95.98 kB / 375.9 MB, free: 21.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.3399, allocations: 303 kB / 376.2 MB, free: 21.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.34, allocations: 36.64 kB / 376.2 MB, free: 21.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.3401, allocations: 364 kB / 376.6 MB, free: 20.86 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.3403, allocations: 208.3 kB / 376.8 MB, free: 20.72 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-05/0.3404, allocations: 66.42 kB / 376.8 MB, free: 20.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.766e-05/0.3405, allocations: 349.9 kB / 377.2 MB, free: 20.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008383/0.3413, allocations: 298.3 kB / 377.5 MB, free: 20.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009017/0.3422, allocations: 0.5312 MB / 378 MB, free: 19.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/0.3439, allocations: 0.857 MB / 378.9 MB, free: 19.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.344, allocations: 1.781 kB / 378.9 MB, free: 19.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002132/0.3461, allocations: 0.9503 MB / 379.8 MB, free: 19.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.3461, allocations: 7.562 kB / 379.8 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.3461, allocations: 8.594 kB / 379.8 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002392/0.3464, allocations: 73.12 kB / 379.9 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009027/0.3473, allocations: 212.9 kB / 380.1 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.3487, allocations: 2.669 MB / 382.8 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000677/0.3493, allocations: 77.92 kB / 382.9 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.005e-05/0.3494, allocations: 41.44 kB / 382.9 MB, free: 16.31 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002573/0.3497, allocations: 217.8 kB / 383.1 MB, free: 16.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-05/0.3498, allocations: 43.38 kB / 383.1 MB, free: 16.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002051/0.3518, allocations: 0.7803 MB / 383.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.3518, allocations: 9.969 kB / 383.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3519, allocations: 9.438 kB / 383.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.3519, allocations: 7.094 kB / 384 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002712/0.3546, allocations: 1.467 MB / 385.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3546, allocations: 0.6562 kB / 385.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007136/0.3553, allocations: 145.3 kB / 385.6 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001614/0.3555, allocations: 59.36 kB / 385.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-05/0.3556, allocations: 16.11 kB / 385.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001238/0.3568, allocations: 2.649 MB / 388.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3568, allocations: 5.844 kB / 388.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002649/0.3595, allocations: 1.156 MB / 389.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/0.3597, allocations: 167 kB / 389.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.917e-05/0.3597, allocations: 19.58 kB / 389.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005473/0.3603, allocations: 63.92 kB / 389.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.3604, allocations: 51.31 kB / 389.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.035e-05/0.3605, allocations: 20.56 kB / 389.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002177/0.3607, allocations: 205.2 kB / 390 MB, free: 11.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3607, allocations: 1.5 kB / 390 MB, free: 11.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007498/0.3615, allocations: 174.7 kB / 390.1 MB, free: 11.52 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002502/0.3617, allocations: 158.9 kB / 390.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002163/0.3639, allocations: 0.9696 MB / 391.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3639, allocations: 1.344 kB / 391.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.3649, allocations: 0.5703 MB / 391.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.3653, allocations: 43.97 kB / 391.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.3679, allocations: 1.617 MB / 393.5 MB, free: 9.652 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.3682, allocations: 0.8772 MB / 394.4 MB, free: 8.949 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004756/0.3687, allocations: 95.28 kB / 394.5 MB, free: 8.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.3689, allocations: 55.61 kB / 394.5 MB, free: 8.898 MB / 302.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3689, allocations: 0 / 394.5 MB, free: 8.898 MB / 302.1 MB Notification: Performance of Templates: time 0.01005/0.3789, allocations: 5.954 MB / 400.5 MB, free: 6.445 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches