Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001146/0.001146, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001131/0.001131, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 63.56 kB / 307 MB, free: 0.6133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0894/0.09062, allocations: 50.53 MB / 357.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.003785/0.09444, allocations: 2.839 MB / 360.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.09561, allocations: 0.7866 MB / 361.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.09574, allocations: 8 kB / 361.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.09594, allocations: 75.3 kB / 361.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.0962, allocations: 103.2 kB / 361.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.09645, allocations: 107.8 kB / 361.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003336/0.09679, allocations: 398.5 kB / 361.8 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.097, allocations: 130.9 kB / 361.9 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.09725, allocations: 163.4 kB / 362.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.09745, allocations: 179.2 kB / 362.2 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.063e-05/0.09751, allocations: 36 kB / 362.3 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.568e-05/0.09757, allocations: 32 kB / 362.3 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.304e-05/0.09765, allocations: 83.69 kB / 362.4 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.0978, allocations: 175.1 kB / 362.6 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003682/0.09818, allocations: 398.8 kB / 362.9 MB, free: 8.582 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.09819, allocations: 4 kB / 363 MB, free: 8.578 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.0982, allocations: 0 / 363 MB, free: 8.578 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.09821, allocations: 0 / 363 MB, free: 8.578 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.001185/0.0994, allocations: 0.651 MB / 363.6 MB, free: 7.875 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.09944, allocations: 8.031 kB / 363.6 MB, free: 7.867 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.408e-05/0.09952, allocations: 40.47 kB / 363.7 MB, free: 7.828 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.09983, allocations: 279.3 kB / 363.9 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.09986, allocations: 28.97 kB / 364 MB, free: 7.488 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.144e-05/0.09992, allocations: 36.38 kB / 364 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005613/0.1005, allocations: 294.3 kB / 364.3 MB, free: 7.164 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1005, allocations: 0 / 364.3 MB, free: 7.164 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.1005, allocations: 8 kB / 364.3 MB, free: 7.156 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.1006, allocations: 8 kB / 364.3 MB, free: 7.148 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006116/0.1012, allocations: 258.4 kB / 364.5 MB, free: 6.895 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.1028, allocations: 1.12 MB / 365.7 MB, free: 5.676 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003667/0.1032, allocations: 154.5 kB / 365.8 MB, free: 5.516 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.1034, allocations: 68.81 kB / 365.9 MB, free: 5.445 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.1034, allocations: 4 kB / 365.9 MB, free: 5.441 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.1034, allocations: 30.56 kB / 365.9 MB, free: 5.402 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.1034, allocations: 0 / 365.9 MB, free: 5.402 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.002031/0.1055, allocations: 0.5941 MB / 366.5 MB, free: 4.797 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.1055, allocations: 51.41 kB / 366.6 MB, free: 4.734 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.1058, allocations: 286.9 kB / 366.8 MB, free: 4.441 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.1058, allocations: 29.7 kB / 366.9 MB, free: 4.406 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.106, allocations: 231.5 kB / 367.1 MB, free: 4.172 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.26e-05/0.1061, allocations: 86.78 kB / 367.2 MB, free: 4.086 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.216e-05/0.1062, allocations: 61.61 kB / 367.2 MB, free: 4.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1063, allocations: 338.8 kB / 367.6 MB, free: 3.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/0.1066, allocations: 95.92 kB / 367.7 MB, free: 3.586 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000356/0.1069, allocations: 192 kB / 367.9 MB, free: 3.352 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006154/0.1076, allocations: 306.8 kB / 368.2 MB, free: 3.012 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1076, allocations: 0 / 368.2 MB, free: 3.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008664/0.1085, allocations: 405.3 kB / 368.5 MB, free: 2.605 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1085, allocations: 10.81 kB / 368.6 MB, free: 2.598 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1085, allocations: 0 / 368.6 MB, free: 2.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000234/0.1087, allocations: 69.61 kB / 368.6 MB, free: 2.523 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.1091, allocations: 67.89 kB / 368.7 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1574/0.2665, allocations: 2.83 MB / 371.5 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.2669, allocations: 22.84 kB / 371.5 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.2669, allocations: 16.22 kB / 371.6 MB, free: 19.46 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.0001619/0.2671, allocations: 149.4 kB / 371.7 MB, free: 19.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.2672, allocations: 29.23 kB / 371.7 MB, free: 19.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.495e-05/0.2672, allocations: 35.69 kB / 371.8 MB, free: 19.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.2672, allocations: 2.375 kB / 371.8 MB, free: 19.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.2672, allocations: 2.781 kB / 371.8 MB, free: 19.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.2673, allocations: 1.984 kB / 371.8 MB, free: 19.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003606/0.2676, allocations: 335.8 kB / 372.1 MB, free: 19.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2676, allocations: 0 / 372.1 MB, free: 19.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.2678, allocations: 38.2 kB / 372.1 MB, free: 19.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000174/0.268, allocations: 68.69 kB / 372.2 MB, free: 19.13 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.2681, allocations: 5.797 kB / 372.2 MB, free: 19.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001288/0.2693, allocations: 2.831 MB / 375 MB, free: 16.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2694, allocations: 1.594 kB / 375 MB, free: 16.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007205/0.2701, allocations: 372.7 kB / 375.4 MB, free: 16.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/0.2702, allocations: 103.3 kB / 375.5 MB, free: 16.1 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.2702, allocations: 5.906 kB / 375.5 MB, free: 16.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.2704, allocations: 16.81 kB / 375.5 MB, free: 16.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.244e-05/0.2705, allocations: 22.75 kB / 375.6 MB, free: 16.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.2705, allocations: 5.141 kB / 375.6 MB, free: 16.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001943/0.2707, allocations: 199 kB / 375.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2707, allocations: 0 / 375.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003763/0.2711, allocations: 76.06 kB / 375.8 MB, free: 15.96 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.0001013/0.2712, allocations: 101.9 kB / 375.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008785/0.2721, allocations: 498.9 kB / 376.4 MB, free: 15.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2721, allocations: 0 / 376.4 MB, free: 15.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004446/0.2725, allocations: 345.3 kB / 376.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.273, allocations: 31.58 kB / 376.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.274, allocations: 0.5533 MB / 377.3 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.2742, allocations: 0.7755 MB / 378.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001339/0.2744, allocations: 32.2 kB / 378.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.508e-05/0.2744, allocations: 22 kB / 378.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2744, allocations: 3.609 kB / 378.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of Templates: time 0.006385/0.2808, allocations: 2.784 MB / 381 MB, free: 14.14 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches