Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008137/0.0008137, allocations: 93.38 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00101/0.00101, allocations: 207.8 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.7 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002256/0.0002256, allocations: 4 kB / 307.7 MB, free: 0.8047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09093/0.09117, allocations: 51.53 MB / 359.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.002684/0.09389, allocations: 2.485 MB / 361.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.095, allocations: 0.7673 MB / 362.5 MB, free: 10 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.09512, allocations: 7.938 kB / 362.5 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.09528, allocations: 55.67 kB / 362.6 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.09552, allocations: 83.44 kB / 362.7 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.09574, allocations: 91.84 kB / 362.8 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000316/0.09606, allocations: 370.5 kB / 363.1 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.09624, allocations: 107.6 kB / 363.2 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.09647, allocations: 143.4 kB / 363.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.09666, allocations: 147.2 kB / 363.5 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.0967, allocations: 20 kB / 363.5 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.87e-05/0.09675, allocations: 16 kB / 363.5 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.745e-05/0.0968, allocations: 63.69 kB / 363.6 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.09694, allocations: 180.8 kB / 363.8 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.09724, allocations: 378.7 kB / 364.1 MB, free: 8.363 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.09725, allocations: 0 / 364.1 MB, free: 8.363 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.09725, allocations: 0 / 364.1 MB, free: 8.363 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.09726, allocations: 0 / 364.1 MB, free: 8.363 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.0009612/0.09823, allocations: 0.5927 MB / 364.7 MB, free: 7.723 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.09827, allocations: 12.03 kB / 364.8 MB, free: 7.711 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.685e-05/0.09834, allocations: 36.47 kB / 364.8 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.09861, allocations: 272.6 kB / 365.1 MB, free: 7.367 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.09865, allocations: 29.03 kB / 365.1 MB, free: 7.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.09871, allocations: 32.38 kB / 365.1 MB, free: 7.309 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005706/0.09928, allocations: 302.3 kB / 365.4 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.0993, allocations: 3.984 kB / 365.4 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.09934, allocations: 12 kB / 365.4 MB, free: 6.996 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.09935, allocations: 8 kB / 365.4 MB, free: 6.988 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006135/0.09997, allocations: 270.4 kB / 365.7 MB, free: 6.723 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.1015, allocations: 1.131 MB / 366.8 MB, free: 5.488 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.1019, allocations: 161.5 kB / 367 MB, free: 5.324 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.1021, allocations: 68.83 kB / 367.1 MB, free: 5.254 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.1021, allocations: 11.97 kB / 367.1 MB, free: 5.242 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.1022, allocations: 38.5 kB / 367.1 MB, free: 5.195 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.473e-06/0.1022, allocations: 0 / 367.1 MB, free: 5.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.002045/0.1042, allocations: 0.667 MB / 367.8 MB, free: 4.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.1043, allocations: 55.41 kB / 367.8 MB, free: 4.453 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.1045, allocations: 274.4 kB / 368.1 MB, free: 4.172 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1046, allocations: 25.7 kB / 368.1 MB, free: 4.141 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.1047, allocations: 227.5 kB / 368.3 MB, free: 3.914 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.979e-05/0.1048, allocations: 78.98 kB / 368.4 MB, free: 3.836 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.1048, allocations: 33.7 kB / 368.4 MB, free: 3.797 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1049, allocations: 338.8 kB / 368.8 MB, free: 3.457 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/0.1052, allocations: 107.7 kB / 368.9 MB, free: 3.352 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.1056, allocations: 200.2 kB / 369.1 MB, free: 3.109 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000626/0.1062, allocations: 323 kB / 369.4 MB, free: 2.754 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1062, allocations: 0 / 369.4 MB, free: 2.754 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008428/0.1071, allocations: 417.2 kB / 369.8 MB, free: 2.336 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1071, allocations: 8 kB / 369.8 MB, free: 2.328 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.1071, allocations: 8 kB / 369.8 MB, free: 2.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002271/0.1074, allocations: 65.75 kB / 369.9 MB, free: 2.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.1077, allocations: 75.89 kB / 370 MB, free: 2.176 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1582/0.2659, allocations: 2.635 MB / 372.6 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003591/0.2663, allocations: 27.89 kB / 372.6 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.2664, allocations: 17.77 kB / 372.6 MB, free: 17.93 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.0001558/0.2665, allocations: 150.5 kB / 372.8 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.483e-05/0.2666, allocations: 28.42 kB / 372.8 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.177e-05/0.2667, allocations: 29.62 kB / 372.8 MB, free: 17.81 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.2667, allocations: 7.672 kB / 372.8 MB, free: 17.81 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.2667, allocations: 2.5 kB / 372.8 MB, free: 17.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.2667, allocations: 4.828 kB / 372.9 MB, free: 17.81 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.267, allocations: 332.9 kB / 373.2 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.2671, allocations: 0.8438 kB / 373.2 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.2673, allocations: 46.25 kB / 373.2 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001643/0.2675, allocations: 52.19 kB / 373.3 MB, free: 17.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.2675, allocations: 5.391 kB / 373.3 MB, free: 17.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/0.2688, allocations: 2.639 MB / 375.9 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2688, allocations: 0 / 375.9 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007162/0.2695, allocations: 395.7 kB / 376.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.333e-05/0.2696, allocations: 101.8 kB / 376.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.2696, allocations: 6.062 kB / 376.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.2698, allocations: 20.89 kB / 376.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/0.2699, allocations: 22.34 kB / 376.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.2699, allocations: 13.28 kB / 376.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001743/0.2701, allocations: 187.4 kB / 376.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2701, allocations: 0 / 376.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003825/0.2705, allocations: 72.94 kB / 376.7 MB, free: 14.8 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 8.634e-05/0.2706, allocations: 103.4 kB / 376.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008738/0.2715, allocations: 0.4925 MB / 377.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2715, allocations: 1.094 kB / 377.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004505/0.2719, allocations: 356.9 kB / 377.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.2723, allocations: 36.06 kB / 377.7 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009749/0.2733, allocations: 0.7077 MB / 378.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.2735, allocations: 0.7751 MB / 379.2 MB, free: 13.15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001516/0.2736, allocations: 31.33 kB / 379.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.103e-05/0.2737, allocations: 22.31 kB / 379.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2737, allocations: 0 / 379.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of Templates: time 0.005718/0.2794, allocations: 2.492 MB / 381.7 MB, free: 12.97 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches