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.001753/0.001753, allocations: 118.1 kB / 17.83 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002074/0.002074, allocations: 209.1 kB / 18.79 MB, free: 4.383 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.48/1.48, allocations: 230.4 MB / 250 MB, free: 9.051 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.001932/0.001932, allocations: 59.84 kB / 367.3 MB, free: 7.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2483, allocations: 53.31 MB / 420.7 MB, free: 8.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004165/0.2525, allocations: 2.854 MB / 423.5 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.2543, allocations: 0.7944 MB / 424.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.2544, allocations: 19.88 kB / 424.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.2547, allocations: 55.44 kB / 424.4 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002841/0.255, allocations: 107.2 kB / 424.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.2552, allocations: 111.8 kB / 424.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004153/0.2556, allocations: 406.5 kB / 425 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.2559, allocations: 90.94 kB / 425.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003025/0.2562, allocations: 163.4 kB / 425.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.2564, allocations: 175.2 kB / 425.4 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.942e-05/0.2564, allocations: 32 kB / 425.4 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.428e-05/0.2565, allocations: 36 kB / 425.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.236e-05/0.2565, allocations: 79.64 kB / 425.6 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.2567, allocations: 179.1 kB / 425.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004598/0.2572, allocations: 410.1 kB / 426.1 MB, free: 2.871 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2572, allocations: 0 / 426.1 MB, free: 2.871 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2572, allocations: 4 kB / 426.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.2572, allocations: 0 / 426.1 MB, free: 2.867 MB / 334.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.001249/0.2584, allocations: 0.6544 MB / 426.8 MB, free: 2.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.2585, allocations: 12.03 kB / 426.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.648e-05/0.2586, allocations: 44.69 kB / 426.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004251/0.259, allocations: 283.5 kB / 427.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.259, allocations: 24.97 kB / 427.1 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.919e-05/0.2591, allocations: 32.38 kB / 427.2 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000595/0.2597, allocations: 294.3 kB / 427.5 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.2597, allocations: 3.938 kB / 427.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.2597, allocations: 16 kB / 427.5 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.2597, allocations: 8 kB / 427.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006122/0.2603, allocations: 250.5 kB / 427.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.2621, allocations: 1.116 MB / 428.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.2625, allocations: 142.4 kB / 429 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.2627, allocations: 68.67 kB / 429.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.397e-05/0.2627, allocations: 7.984 kB / 429.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.2627, allocations: 34.56 kB / 429.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.593e-06/0.2627, allocations: 0 / 429.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002184/0.2649, allocations: 0.5958 MB / 429.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.265, allocations: 55.41 kB / 429.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003322/0.2653, allocations: 290.8 kB / 430 MB, free: 14.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.2653, allocations: 29.7 kB / 430.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.2655, allocations: 228.1 kB / 430.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.836e-05/0.2655, allocations: 75.38 kB / 430.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.2657, allocations: 65.66 kB / 430.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.2658, allocations: 338.8 kB / 430.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.2661, allocations: 99.86 kB / 430.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.2664, allocations: 198.1 kB / 431 MB, free: 13.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006214/0.2671, allocations: 309.1 kB / 431.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2671, allocations: 4 kB / 431.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008471/0.2679, allocations: 397 kB / 431.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.2679, allocations: 8 kB / 431.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.2679, allocations: 4.406 kB / 431.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002745/0.2682, allocations: 61.67 kB / 431.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/0.2686, allocations: 67.89 kB / 431.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/0.2708, allocations: 2.841 MB / 434.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.2711, allocations: 23.98 kB / 434.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.2711, allocations: 16.05 kB / 434.8 MB, free: 9.59 MB / 350.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.0001865/0.2713, allocations: 157.7 kB / 434.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.2714, allocations: 27.81 kB / 434.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.287e-05/0.2715, allocations: 34.2 kB / 435 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2715, allocations: 0 / 435 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.2715, allocations: 7.938 kB / 435 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2715, allocations: 0 / 435 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/0.2719, allocations: 333.4 kB / 435.3 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2719, allocations: 8 kB / 435.3 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.2721, allocations: 35.97 kB / 435.3 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001617/0.2722, allocations: 65.73 kB / 435.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.2723, allocations: 4 kB / 435.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002159/0.2744, allocations: 2.834 MB / 438.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2744, allocations: 4.125 kB / 438.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000725/0.2751, allocations: 379.7 kB / 438.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.127e-05/0.2752, allocations: 105 kB / 438.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.2753, allocations: 4 kB / 438.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.2755, allocations: 11.98 kB / 438.7 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.051e-05/0.2755, allocations: 19.97 kB / 438.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.2755, allocations: 8 kB / 438.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002095/0.2758, allocations: 202 kB / 439 MB, free: 4.992 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2758, allocations: 0 / 439 MB, free: 4.992 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003822/0.2761, allocations: 72 kB / 439 MB, free: 4.922 MB / 350.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.0001448/0.2763, allocations: 113.9 kB / 439.1 MB, free: 4.801 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009887/0.2773, allocations: 480.9 kB / 439.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2773, allocations: 0 / 439.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004997/0.2778, allocations: 338.2 kB / 439.9 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.2781, allocations: 24.89 kB / 440 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.2792, allocations: 0.5643 MB / 440.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.2796, allocations: 0.7753 MB / 441.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.2798, allocations: 26.28 kB / 441.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.389e-05/0.2798, allocations: 23.42 kB / 441.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2798, allocations: 3.938 kB / 441.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of Templates: time 0.007348/0.2872, allocations: 2.871 MB / 444.2 MB, free: 15.64 MB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/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