Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.QuadraticCoreAirgap,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.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,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.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008645/0.0008647, allocations: 92.48 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.001144/0.001144, allocations: 175.8 kB / 17.56 MB, free: 6.18 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.305/1.305, allocations: 223.3 MB / 241.6 MB, free: 14.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003721, allocations: 7.938 kB / 301.4 MB, free: 5.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1007, allocations: 50.42 MB / 351.9 MB, free: 3.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.007023/0.1078, allocations: 6.132 MB / 358 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004195/0.112, allocations: 2.332 MB / 360.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007302/0.1128, allocations: 20 kB / 360.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.1138, allocations: 374.5 kB / 360.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001926/0.1158, allocations: 0.6336 MB / 361.3 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.118, allocations: 1.101 MB / 362.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001212/0.1192, allocations: 1.063 MB / 363.5 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002852/0.122, allocations: 1.739 MB / 365.2 MB, free: 5.969 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005128/0.1226, allocations: 414.2 kB / 365.6 MB, free: 5.562 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005773/0.1232, allocations: 0.5522 MB / 366.2 MB, free: 5.008 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.62e-05/0.1233, allocations: 52 kB / 366.2 MB, free: 4.957 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009285/0.1242, allocations: 375.6 kB / 366.6 MB, free: 4.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.1243, allocations: 191.1 kB / 366.8 MB, free: 4.402 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004769/0.1248, allocations: 0.5223 MB / 367.3 MB, free: 3.871 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.1265, allocations: 1.565 MB / 368.9 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1265, allocations: 3.938 kB / 368.9 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.1265, allocations: 0 / 368.9 MB, free: 2.297 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.1266, allocations: 3.938 kB / 368.9 MB, free: 2.293 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.006013/0.1326, allocations: 1.826 MB / 370.7 MB, free: 428 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1326, allocations: 16.03 kB / 370.7 MB, free: 412 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1796/0.3122, allocations: 0.5035 MB / 371.2 MB, free: 23.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.3126, allocations: 309.1 kB / 371.5 MB, free: 23.24 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001993/0.3128, allocations: 98.44 kB / 371.6 MB, free: 23.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004236/0.3133, allocations: 130.8 kB / 371.8 MB, free: 23.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002897/0.3162, allocations: 1.312 MB / 373.1 MB, free: 23.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.959e-05/0.3162, allocations: 8.797 kB / 373.1 MB, free: 23.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/0.3164, allocations: 58.73 kB / 373.1 MB, free: 23.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.401e-05/0.3164, allocations: 31.06 kB / 373.2 MB, free: 23.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0028/0.3192, allocations: 1.231 MB / 374.4 MB, free: 22.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006526/0.3258, allocations: 4.23 MB / 378.6 MB, free: 20.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00258/0.3284, allocations: 2.448 MB / 381.1 MB, free: 18.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.3294, allocations: 0.513 MB / 381.6 MB, free: 18.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001295/0.3295, allocations: 113 kB / 381.7 MB, free: 18.1 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.3296, allocations: 48.55 kB / 381.8 MB, free: 18.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=122): time 2.585e-06/0.3296, allocations: 0 / 381.8 MB, free: 18.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=125): time 0.01239/0.342, allocations: 4.073 MB / 385.8 MB, free: 16.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.836e-05/0.3421, allocations: 90.52 kB / 385.9 MB, free: 16.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007441/0.3429, allocations: 400.4 kB / 386.3 MB, free: 16.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.561e-05/0.343, allocations: 42.73 kB / 386.4 MB, free: 16.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003495/0.3433, allocations: 452.5 kB / 386.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004055/0.3437, allocations: 423.9 kB / 387.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.3439, allocations: 103.9 kB / 387.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3441, allocations: 373.8 kB / 387.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/0.3453, allocations: 466.9 kB / 388.1 MB, free: 14.81 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.3465, allocations: 0.7174 MB / 388.8 MB, free: 14.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002351/0.3489, allocations: 1.23 MB / 390.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.3489, allocations: 2.406 kB / 390.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002912/0.3518, allocations: 1.518 MB / 391.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.3519, allocations: 13.73 kB / 391.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.3519, allocations: 7.875 kB / 391.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000565/0.3525, allocations: 196.9 kB / 391.8 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.3537, allocations: 309.9 kB / 392.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00348/0.3572, allocations: 3.97 MB / 396.1 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009815/0.3582, allocations: 93.19 kB / 396.2 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.8e-05/0.3583, allocations: 51.61 kB / 396.2 MB, free: 9.402 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * 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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004246/0.3587, allocations: 271.7 kB / 396.5 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.3589, allocations: 69.56 kB / 396.6 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002788/0.3617, allocations: 1.397 MB / 398 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.3617, allocations: 11.84 kB / 398 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3617, allocations: 3.938 kB / 398 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.3617, allocations: 11.94 kB / 398 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003881/0.3656, allocations: 2.676 MB / 400.7 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.3656, allocations: 5.875 kB / 400.7 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009153/0.3665, allocations: 223.7 kB / 400.9 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003882/0.3669, allocations: 175.3 kB / 401.1 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.734e-05/0.367, allocations: 31.98 kB / 401.1 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002622/0.3696, allocations: 3.777 MB / 404.9 MB, free: 2.027 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3697, allocations: 7.922 kB / 404.9 MB, free: 2.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003355/0.373, allocations: 1.949 MB / 406.8 MB, free: 36 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003399/0.3734, allocations: 224.2 kB / 407 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.105e-05/0.3735, allocations: 24.56 kB / 407.1 MB, free: 15.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006997/0.3742, allocations: 80 kB / 407.1 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/0.3744, allocations: 84.86 kB / 407.2 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.088e-05/0.3744, allocations: 43.98 kB / 407.3 MB, free: 15.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000271/0.3747, allocations: 263.2 kB / 407.5 MB, free: 15.31 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3747, allocations: 0 / 407.5 MB, free: 15.31 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001081/0.3758, allocations: 304.4 kB / 407.8 MB, free: 15.02 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (106): * Single equations (assignments): 104 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002801/0.3761, allocations: 189.5 kB / 408 MB, free: 14.83 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002972/0.3791, allocations: 1.504 MB / 409.5 MB, free: 13.3 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.3791, allocations: 0 / 409.5 MB, free: 13.3 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001498/0.3806, allocations: 0.8987 MB / 410.4 MB, free: 12.38 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005728/0.3812, allocations: 69.5 kB / 410.5 MB, free: 12.31 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004175/0.3854, allocations: 2.504 MB / 413 MB, free: 9.773 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005835/0.386, allocations: 1.008 MB / 414 MB, free: 8.738 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007477/0.3867, allocations: 146.6 kB / 414.1 MB, free: 8.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.387, allocations: 75.41 kB / 414.2 MB, free: 8.516 MB / 318.1 MB Notification: Performance of SimCode: time 2.194e-06/0.387, allocations: 0 / 414.2 MB, free: 8.516 MB / 318.1 MB Notification: Performance of Templates: time 0.01724/0.4042, allocations: 9.591 MB / 423.8 MB, free: 14.97 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches