Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.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.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.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.00107/0.00107, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.00104/0.00104, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.346/1.346, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008547/0.0008547, allocations: 52.27 kB / 302.1 MB, free: 5.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1048, allocations: 49.45 MB / 351.5 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004175/0.109, allocations: 2.79 MB / 354.3 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.1104, allocations: 0.7437 MB / 355 MB, free: 128 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.1106, allocations: 7.938 kB / 355 MB, free: 120 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.1108, allocations: 67.42 kB / 355.1 MB, free: 52 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002601/0.1111, allocations: 91.19 kB / 355.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.1114, allocations: 115.8 kB / 355.3 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003655/0.1117, allocations: 394.4 kB / 355.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.1119, allocations: 122.9 kB / 355.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002194/0.1121, allocations: 155.4 kB / 356 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.1124, allocations: 167.2 kB / 356.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.684e-05/0.1124, allocations: 36 kB / 356.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.964e-05/0.1125, allocations: 32 kB / 356.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.938e-05/0.1126, allocations: 75.75 kB / 356.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.1127, allocations: 175.1 kB / 356.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003671/0.1131, allocations: 390.5 kB / 356.8 MB, free: 14.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1131, allocations: 0 / 356.8 MB, free: 14.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1131, allocations: 4 kB / 356.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.1131, allocations: 0 / 356.8 MB, free: 14.32 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001079/0.1142, allocations: 0.6354 MB / 357.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1143, allocations: 16.03 kB / 357.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.333e-05/0.1143, allocations: 32.56 kB / 357.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004603/0.1148, allocations: 268 kB / 357.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.314e-05/0.1149, allocations: 29.03 kB / 357.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.145e-05/0.1149, allocations: 32.38 kB / 357.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005479/0.1155, allocations: 286.3 kB / 358.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1155, allocations: 4 kB / 358.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.1156, allocations: 16 kB / 358.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.1156, allocations: 12 kB / 358.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005567/0.1162, allocations: 254.4 kB / 358.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.1177, allocations: 1.116 MB / 359.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/0.1181, allocations: 154.5 kB / 359.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.1183, allocations: 64.83 kB / 359.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.1183, allocations: 4 kB / 359.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.1183, allocations: 38.55 kB / 359.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.054e-06/0.1183, allocations: 0 / 359.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001867/0.1202, allocations: 0.5857 MB / 360.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.1202, allocations: 51.41 kB / 360.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.1205, allocations: 270.4 kB / 360.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.1205, allocations: 33.7 kB / 360.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.1207, allocations: 223.5 kB / 360.9 MB, free: 9.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/0.1207, allocations: 74.84 kB / 361 MB, free: 9.906 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.1208, allocations: 69.61 kB / 361.1 MB, free: 9.832 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.121, allocations: 338.8 kB / 361.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/0.1212, allocations: 99.86 kB / 361.5 MB, free: 9.395 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/0.1215, allocations: 195.8 kB / 361.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005414/0.1221, allocations: 303 kB / 362 MB, free: 8.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1221, allocations: 0 / 362 MB, free: 8.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007655/0.1229, allocations: 392.9 kB / 362.4 MB, free: 8.426 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1229, allocations: 8 kB / 362.4 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.1229, allocations: 8.391 kB / 362.4 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002424/0.1232, allocations: 57.62 kB / 362.4 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.1235, allocations: 79.88 kB / 362.5 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.1253, allocations: 2.829 MB / 365.3 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.1256, allocations: 19.98 kB / 365.4 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.1256, allocations: 16 kB / 365.4 MB, free: 5.121 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * 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.0001667/0.1258, allocations: 165.6 kB / 365.5 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.05e-05/0.1259, allocations: 27.72 kB / 365.6 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.686e-05/0.126, allocations: 26.19 kB / 365.6 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.126, allocations: 7.984 kB / 365.6 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.126, allocations: 0 / 365.6 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.126, allocations: 0 / 365.6 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.1263, allocations: 333.3 kB / 365.9 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1263, allocations: 8 kB / 365.9 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.1265, allocations: 39.91 kB / 366 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001364/0.1267, allocations: 53.8 kB / 366 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.1267, allocations: 8 kB / 366 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/0.1287, allocations: 2.833 MB / 368.9 MB, free: 1.293 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1287, allocations: 0 / 368.9 MB, free: 1.293 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007332/0.1295, allocations: 370.3 kB / 369.2 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.353e-05/0.1295, allocations: 104.8 kB / 369.3 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.1296, allocations: 3.984 kB / 369.3 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.1298, allocations: 19.98 kB / 369.3 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.828e-05/0.1299, allocations: 19.97 kB / 369.4 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.1299, allocations: 8 kB / 369.4 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001958/0.1301, allocations: 186 kB / 369.6 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.42e-07/0.1301, allocations: 0 / 369.6 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004253/0.1305, allocations: 68 kB / 369.6 MB, free: 500 kB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (18): * Single equations (assignments): 16 * 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.0001751/0.1307, allocations: 115.2 kB / 369.7 MB, free: 376 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1666/0.2973, allocations: 468.5 kB / 370.2 MB, free: 25.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.2974, allocations: 4.344 kB / 370.2 MB, free: 25.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006174/0.298, allocations: 345.5 kB / 370.5 MB, free: 25.19 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.2985, allocations: 31.03 kB / 370.6 MB, free: 25.19 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.2997, allocations: 0.5288 MB / 371.1 MB, free: 24.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.3, allocations: 0.77 MB / 371.9 MB, free: 24.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.3001, allocations: 27.44 kB / 371.9 MB, free: 24.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.544e-05/0.3002, allocations: 21.3 kB / 371.9 MB, free: 24.22 MB / 302.1 MB Notification: Performance of SimCode: time 1.433e-06/0.3002, allocations: 0.6875 kB / 371.9 MB, free: 24.22 MB / 302.1 MB Notification: Performance of Templates: time 0.007869/0.308, allocations: 2.697 MB / 374.6 MB, free: 24.15 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches