Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 109.1 kB / 17.28 MB, free: 6.059 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.0013/0.0013, allocations: 193.3 kB / 18.21 MB, free: 5.145 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.337/1.337, allocations: 222.9 MB / 241.9 MB, free: 15.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001042, allocations: 46.25 kB / 300.8 MB, free: 6.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09395/0.09501, allocations: 49.46 MB / 350.2 MB, free: 4.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004003/0.09906, allocations: 2.861 MB / 353.1 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.1002, allocations: 0.7439 MB / 353.8 MB, free: 1.078 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.1004, allocations: 4 kB / 353.9 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002235/0.1006, allocations: 51.61 kB / 353.9 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.1009, allocations: 79.44 kB / 354 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.1012, allocations: 95.84 kB / 354.1 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003564/0.1015, allocations: 402.3 kB / 354.5 MB, free: 468 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.1018, allocations: 142.8 kB / 354.6 MB, free: 324 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.102, allocations: 155.4 kB / 354.8 MB, free: 168 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.1022, allocations: 175.2 kB / 354.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.876e-05/0.1022, allocations: 32 kB / 355 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.907e-05/0.1023, allocations: 36 kB / 355 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.93e-05/0.1024, allocations: 83.73 kB / 355.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.1025, allocations: 171.1 kB / 355.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.1028, allocations: 311.4 kB / 355.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1028, allocations: 0 / 355.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.1028, allocations: 7.938 kB / 355.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1028, allocations: 3.938 kB / 355.6 MB, free: 15.36 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.0012/0.104, allocations: 0.6393 MB / 356.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1041, allocations: 12.03 kB / 356.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.696e-05/0.1042, allocations: 36.47 kB / 356.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.1045, allocations: 272.6 kB / 356.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.1045, allocations: 25.02 kB / 356.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.073e-05/0.1046, allocations: 32.38 kB / 356.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006097/0.1052, allocations: 294.4 kB / 356.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.1052, allocations: 0 / 356.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.1053, allocations: 12 kB / 356.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.1053, allocations: 8 kB / 356.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006137/0.1059, allocations: 254.5 kB / 357.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.1076, allocations: 1.12 MB / 358.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.108, allocations: 154.4 kB / 358.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.1082, allocations: 68.81 kB / 358.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.1082, allocations: 8 kB / 358.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.1082, allocations: 30.56 kB / 358.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/0.1082, allocations: 0 / 358.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.00203/0.1103, allocations: 0.598 MB / 359.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.1103, allocations: 55.41 kB / 359.2 MB, free: 11.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.1106, allocations: 282.5 kB / 359.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.1107, allocations: 25.7 kB / 359.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.1108, allocations: 223.5 kB / 359.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.292e-05/0.1109, allocations: 78.84 kB / 359.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.413e-05/0.111, allocations: 69.61 kB / 359.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1111, allocations: 334.8 kB / 360.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.1113, allocations: 99.92 kB / 360.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003367/0.1117, allocations: 195.9 kB / 360.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005903/0.1123, allocations: 301.1 kB / 360.7 MB, free: 9.832 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.1123, allocations: 7.938 kB / 360.7 MB, free: 9.824 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008266/0.1131, allocations: 396.9 kB / 361.1 MB, free: 9.426 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1132, allocations: 4.406 kB / 361.1 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.1132, allocations: 8 kB / 361.1 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002418/0.1134, allocations: 57.67 kB / 361.2 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003283/0.1138, allocations: 79.83 kB / 361.3 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.116, allocations: 2.84 MB / 364.1 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/0.1163, allocations: 23.98 kB / 364.1 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.1163, allocations: 15.98 kB / 364.1 MB, free: 6.109 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.0001502/0.1165, allocations: 145.7 kB / 364.3 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.777e-05/0.1166, allocations: 23.78 kB / 364.3 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.62e-05/0.1166, allocations: 38.17 kB / 364.4 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1166, allocations: 7.938 kB / 364.4 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1167, allocations: 0 / 364.4 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1167, allocations: 0 / 364.4 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003576/0.117, allocations: 333.4 kB / 364.7 MB, free: 5.516 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.117, allocations: 4 kB / 364.7 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.1173, allocations: 43.91 kB / 364.7 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002183/0.1175, allocations: 61.8 kB / 364.8 MB, free: 5.402 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.1176, allocations: 4 kB / 364.8 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.1194, allocations: 2.825 MB / 367.6 MB, free: 2.297 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.1194, allocations: 4 kB / 367.6 MB, free: 2.293 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006897/0.1201, allocations: 378.8 kB / 368 MB, free: 1.902 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.951e-05/0.1202, allocations: 108.7 kB / 368.1 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/0.1203, allocations: 4 kB / 368.1 MB, free: 1.773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.1205, allocations: 15.98 kB / 368.1 MB, free: 1.758 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.1205, allocations: 23.97 kB / 368.1 MB, free: 1.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.1206, allocations: 4 kB / 368.1 MB, free: 1.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001963/0.1208, allocations: 194 kB / 368.3 MB, free: 1.539 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1208, allocations: 0 / 368.3 MB, free: 1.539 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003981/0.1212, allocations: 80 kB / 368.4 MB, free: 1.461 MB / 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.0001204/0.1213, allocations: 99.25 kB / 368.5 MB, free: 1.355 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000905/0.1222, allocations: 497.8 kB / 369 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1222, allocations: 3.938 kB / 369 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004655/0.1227, allocations: 341.2 kB / 369.3 MB, free: 492 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.1231, allocations: 32.44 kB / 369.4 MB, free: 460 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1496/0.2727, allocations: 0.7121 MB / 370.1 MB, free: 25.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.273, allocations: 0.7722 MB / 370.9 MB, free: 24.63 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.2731, allocations: 23.45 kB / 370.9 MB, free: 24.62 MB / 302.1 MB Notification: Performance of SimCode: time 9.52e-07/0.2731, allocations: 0.75 kB / 370.9 MB, free: 24.62 MB / 302.1 MB Notification: Performance of Templates: time 0.008114/0.2813, allocations: 5.998 MB / 376.9 MB, free: 23.96 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches