Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.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.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.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.0009122/0.0009123, allocations: 95.34 kB / 16.31 MB, free: 5.996 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.00085/0.00085, allocations: 184 kB / 17.2 MB, free: 5.914 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.277/1.277, allocations: 223.2 MB / 241.1 MB, free: 5.371 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002557/0.0002557, allocations: 12.31 kB / 300.7 MB, free: 6.066 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0888/0.08907, allocations: 50.42 MB / 351.1 MB, free: 11.69 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.003168/0.09229, allocations: 2.818 MB / 354 MB, free: 8.852 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.09359, allocations: 0.9043 MB / 354.9 MB, free: 7.945 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/0.09377, allocations: 8 kB / 354.9 MB, free: 7.938 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.09397, allocations: 67.52 kB / 354.9 MB, free: 7.871 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.09429, allocations: 147.5 kB / 355.1 MB, free: 7.727 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.09457, allocations: 123.8 kB / 355.2 MB, free: 7.605 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004053/0.09499, allocations: 415.6 kB / 355.6 MB, free: 7.199 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002424/0.09523, allocations: 146.2 kB / 355.8 MB, free: 7.039 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.09551, allocations: 207.2 kB / 356 MB, free: 6.836 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.09576, allocations: 230.9 kB / 356.2 MB, free: 6.609 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.471e-05/0.09582, allocations: 28 kB / 356.2 MB, free: 6.582 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.363e-05/0.09589, allocations: 28 kB / 356.2 MB, free: 6.555 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.617e-05/0.09598, allocations: 91.64 kB / 356.3 MB, free: 6.465 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.09609, allocations: 125.4 kB / 356.4 MB, free: 6.336 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004415/0.09654, allocations: 466.6 kB / 356.9 MB, free: 5.879 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.09655, allocations: 4 kB / 356.9 MB, free: 5.875 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.09656, allocations: 3.938 kB / 356.9 MB, free: 5.871 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.09658, allocations: 0 / 356.9 MB, free: 5.871 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001523/0.09811, allocations: 0.7679 MB / 357.7 MB, free: 5.055 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.09817, allocations: 12.03 kB / 357.7 MB, free: 5.043 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.0983, allocations: 67.2 kB / 357.8 MB, free: 4.977 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.0988, allocations: 334 kB / 358.1 MB, free: 4.613 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.828e-05/0.09885, allocations: 37.31 kB / 358.1 MB, free: 4.574 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.833e-05/0.09894, allocations: 55.94 kB / 358.2 MB, free: 4.52 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008984/0.09984, allocations: 442.4 kB / 358.6 MB, free: 4.082 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.09987, allocations: 0 / 358.6 MB, free: 4.082 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/0.09993, allocations: 20 kB / 358.6 MB, free: 4.062 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.09996, allocations: 19.98 kB / 358.6 MB, free: 4.043 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008709/0.1008, allocations: 405 kB / 359 MB, free: 3.648 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00243/0.1033, allocations: 1.597 MB / 360.6 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007478/0.104, allocations: 413.4 kB / 361 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.689e-05/0.1041, allocations: 8.328 kB / 361 MB, free: 1.504 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.1041, allocations: 34.89 kB / 361.1 MB, free: 1.461 MB / 286.1 MB Notification: Performance of pre-optimization done (n=39): time 1.523e-06/0.1041, allocations: 0 / 361.1 MB, free: 1.461 MB / 286.1 MB Notification: Performance of matching and sorting (n=55): time 0.003388/0.1075, allocations: 1.404 MB / 362.5 MB, free: 28 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.1076, allocations: 55.97 kB / 362.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004006/0.108, allocations: 397.5 kB / 362.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.108, allocations: 37.7 kB / 363 MB, free: 15.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.1082, allocations: 295.8 kB / 363.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.1084, allocations: 189.3 kB / 363.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.1084, allocations: 12 kB / 363.5 MB, free: 15.03 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1086, allocations: 354.8 kB / 363.8 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004275/0.109, allocations: 197.2 kB / 364 MB, free: 14.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000488/0.1095, allocations: 302.3 kB / 364.3 MB, free: 14.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004668/0.11, allocations: 226.1 kB / 364.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.11, allocations: 4 kB / 364.5 MB, free: 13.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001453/0.1114, allocations: 0.7692 MB / 365.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.1115, allocations: 11.94 kB / 365.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1115, allocations: 0 / 365.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005519/0.112, allocations: 192.6 kB / 365.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004849/0.1125, allocations: 115.8 kB / 365.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00393/0.1165, allocations: 3.991 MB / 369.6 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003939/0.1169, allocations: 44.03 kB / 369.6 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.1169, allocations: 20 kB / 369.6 MB, free: 8.512 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 11,(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002172/0.1172, allocations: 185.6 kB / 369.8 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.1172, allocations: 51.34 kB / 369.9 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.1174, allocations: 61.02 kB / 369.9 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.1174, allocations: 8 kB / 369.9 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.1174, allocations: 4 kB / 369.9 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1174, allocations: 4 kB / 370 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.1195, allocations: 1.314 MB / 371.3 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.1195, allocations: 4 kB / 371.3 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.1199, allocations: 71.89 kB / 371.3 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004145/0.1203, allocations: 169.8 kB / 371.5 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.1203, allocations: 19.94 kB / 371.5 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003461/0.1238, allocations: 3.893 MB / 375.4 MB, free: 2.375 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1238, allocations: 0 / 375.4 MB, free: 2.375 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.125, allocations: 0.7627 MB / 376.2 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.402e-05/0.1251, allocations: 120.5 kB / 376.3 MB, free: 1.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.131e-05/0.1252, allocations: 11.95 kB / 376.3 MB, free: 1.418 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003029/0.1255, allocations: 35.97 kB / 376.3 MB, free: 1.383 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.806e-05/0.1256, allocations: 44.38 kB / 376.4 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.1256, allocations: 16 kB / 376.4 MB, free: 1.324 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002875/0.1259, allocations: 271.2 kB / 376.7 MB, free: 1.059 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1259, allocations: 3.938 kB / 376.7 MB, free: 1.055 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006684/0.1266, allocations: 156 kB / 376.8 MB, free: 0.9023 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 10,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001358/0.1267, allocations: 111.2 kB / 376.9 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.1282, allocations: 0.8242 MB / 377.8 MB, free: 15.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1282, allocations: 0 / 377.8 MB, free: 15.93 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000808/0.129, allocations: 0.5508 MB / 378.3 MB, free: 15.36 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.1294, allocations: 37.55 kB / 378.3 MB, free: 15.32 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.1309, allocations: 1.112 MB / 379.5 MB, free: 14.17 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.1313, allocations: 0.8718 MB / 380.3 MB, free: 13.27 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001953/0.1315, allocations: 44.36 kB / 380.4 MB, free: 13.23 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.048e-05/0.1316, allocations: 35.42 kB / 380.4 MB, free: 13.2 MB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1316, allocations: 0 / 380.4 MB, free: 13.2 MB / 318.1 MB Notification: Performance of Templates: time 0.008615/0.1402, allocations: 4.649 MB / 385.1 MB, free: 8.551 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches