Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001777/0.001777, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00212/0.00212, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.551/1.551, allocations: 227.7 MB / 247.7 MB, free: 10.29 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 62.14 kB / 307.9 MB, free: 484 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09889/0.1009, allocations: 50.55 MB / 358.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004431/0.1054, allocations: 2.829 MB / 361.3 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.1068, allocations: 0.7983 MB / 362.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.107, allocations: 11.94 kB / 362.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.1072, allocations: 67.36 kB / 362.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.1075, allocations: 95.19 kB / 362.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.1078, allocations: 103.8 kB / 362.3 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004159/0.1082, allocations: 402.5 kB / 362.7 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002334/0.1084, allocations: 134.9 kB / 362.9 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003104/0.1088, allocations: 159.4 kB / 363 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.109, allocations: 175.2 kB / 363.2 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.688e-05/0.1091, allocations: 36 kB / 363.2 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.254e-05/0.1091, allocations: 36 kB / 363.3 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.036e-05/0.1092, allocations: 83.67 kB / 363.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.1094, allocations: 175.1 kB / 363.5 MB, free: 8.809 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004154/0.1098, allocations: 398.8 kB / 363.9 MB, free: 8.418 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1098, allocations: 0 / 363.9 MB, free: 8.418 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.1099, allocations: 0 / 363.9 MB, free: 8.418 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.1099, allocations: 3.938 kB / 363.9 MB, free: 8.414 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.001288/0.1112, allocations: 0.651 MB / 364.6 MB, free: 7.711 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1112, allocations: 8.031 kB / 364.6 MB, free: 7.703 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.221e-05/0.1113, allocations: 40.47 kB / 364.6 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.1116, allocations: 283.2 kB / 364.9 MB, free: 7.348 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.1117, allocations: 29.03 kB / 364.9 MB, free: 7.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.694e-05/0.1118, allocations: 32.38 kB / 364.9 MB, free: 7.289 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006106/0.1124, allocations: 294.3 kB / 365.2 MB, free: 7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1124, allocations: 0 / 365.2 MB, free: 7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/0.1124, allocations: 12 kB / 365.2 MB, free: 6.988 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.1124, allocations: 4 kB / 365.2 MB, free: 6.984 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006516/0.1131, allocations: 254.5 kB / 365.5 MB, free: 6.734 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.1149, allocations: 1.124 MB / 366.6 MB, free: 5.512 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.1154, allocations: 158.5 kB / 366.8 MB, free: 5.348 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.1156, allocations: 68.81 kB / 366.8 MB, free: 5.277 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.1156, allocations: 4 kB / 366.8 MB, free: 5.273 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.1156, allocations: 30.56 kB / 366.9 MB, free: 5.234 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.1156, allocations: 0 / 366.9 MB, free: 5.234 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.002162/0.1178, allocations: 0.5937 MB / 367.5 MB, free: 4.629 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.1179, allocations: 51.41 kB / 367.5 MB, free: 4.566 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000337/0.1182, allocations: 290.9 kB / 367.8 MB, free: 4.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.1182, allocations: 25.7 kB / 367.8 MB, free: 4.238 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.1184, allocations: 227.5 kB / 368.1 MB, free: 4.008 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.905e-05/0.1185, allocations: 86.83 kB / 368.1 MB, free: 3.922 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.1186, allocations: 65.61 kB / 368.2 MB, free: 3.852 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.1188, allocations: 334.8 kB / 368.5 MB, free: 3.516 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000311/0.1191, allocations: 99.86 kB / 368.6 MB, free: 3.418 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000381/0.1195, allocations: 192 kB / 368.8 MB, free: 3.184 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000687/0.1202, allocations: 310.8 kB / 369.1 MB, free: 2.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1202, allocations: 3.938 kB / 369.1 MB, free: 2.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000927/0.1211, allocations: 397.3 kB / 369.5 MB, free: 2.438 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.1212, allocations: 8 kB / 369.5 MB, free: 2.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.1212, allocations: 8 kB / 369.5 MB, free: 2.422 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002671/0.1215, allocations: 65.61 kB / 369.6 MB, free: 2.352 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.1218, allocations: 71.89 kB / 369.7 MB, free: 2.281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1482/0.27, allocations: 2.823 MB / 372.5 MB, free: 18.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000371/0.2704, allocations: 26.83 kB / 372.5 MB, free: 18.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.2705, allocations: 13.5 kB / 372.5 MB, free: 18.72 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.0001598/0.2707, allocations: 147.2 kB / 372.7 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.117e-05/0.2707, allocations: 28.44 kB / 372.7 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.364e-05/0.2708, allocations: 31.45 kB / 372.7 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.2708, allocations: 5.016 kB / 372.7 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2708, allocations: 1.188 kB / 372.7 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.2708, allocations: 1.594 kB / 372.7 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003744/0.2712, allocations: 340.8 kB / 373.1 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2712, allocations: 1.281 kB / 373.1 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.2715, allocations: 39.8 kB / 373.1 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001894/0.2717, allocations: 59.84 kB / 373.2 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.2717, allocations: 5.312 kB / 373.2 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001361/0.2731, allocations: 2.837 MB / 376 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2731, allocations: 0 / 376 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006928/0.2738, allocations: 374.2 kB / 376.4 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.23e-05/0.2738, allocations: 108.2 kB / 376.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.2739, allocations: 5.125 kB / 376.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.2741, allocations: 14.97 kB / 376.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.486e-05/0.2742, allocations: 19.91 kB / 376.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.2742, allocations: 4.109 kB / 376.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001878/0.2744, allocations: 199.1 kB / 376.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2744, allocations: 3.969 kB / 376.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004148/0.2748, allocations: 76.19 kB / 376.8 MB, free: 15.4 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.0001091/0.2749, allocations: 109 kB / 376.9 MB, free: 15.31 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009203/0.2759, allocations: 490.2 kB / 377.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2759, allocations: 0 / 377.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004261/0.2763, allocations: 346.3 kB / 377.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.2767, allocations: 30.22 kB / 377.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.2777, allocations: 0.5872 MB / 378.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.2779, allocations: 0.776 MB / 379.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.083e-05/0.278, allocations: 24.08 kB / 379.1 MB, free: 13.85 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.278, allocations: 4.594 kB / 379.1 MB, free: 13.85 MB / 302.1 MB Notification: Performance of Templates: time 0.008566/0.2866, allocations: 6.086 MB / 385.2 MB, free: 12.79 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches