Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 114.9 kB / 17.74 MB, free: 5.293 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.001762/0.001762, allocations: 188.4 kB / 18.67 MB, free: 4.375 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.338/1.338, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 47.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2395, allocations: 49.44 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.003715/0.2432, allocations: 2.793 MB / 404.2 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.2443, allocations: 0.7477 MB / 404.9 MB, free: 5.312 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.2445, allocations: 4 kB / 405 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.2447, allocations: 67.38 kB / 405 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.2449, allocations: 87.25 kB / 405.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.2452, allocations: 107.8 kB / 405.2 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.2455, allocations: 382.6 kB / 405.6 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.2457, allocations: 134.9 kB / 405.7 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.2459, allocations: 155.4 kB / 405.9 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.2461, allocations: 171.2 kB / 406 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.926e-05/0.2462, allocations: 32 kB / 406.1 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.407e-05/0.2463, allocations: 32 kB / 406.1 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.608e-05/0.2463, allocations: 75.7 kB / 406.2 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.2465, allocations: 171.1 kB / 406.3 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.2468, allocations: 391.7 kB / 406.7 MB, free: 3.535 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2468, allocations: 4 kB / 406.7 MB, free: 3.531 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2468, allocations: 0 / 406.7 MB, free: 3.531 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.2468, allocations: 11.94 kB / 406.7 MB, free: 3.52 MB / 318.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.001058/0.2479, allocations: 0.6276 MB / 407.4 MB, free: 2.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.2479, allocations: 11.89 kB / 407.4 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.948e-05/0.248, allocations: 48.45 kB / 407.4 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.2483, allocations: 272.9 kB / 407.7 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.2483, allocations: 21.03 kB / 407.7 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.469e-05/0.2484, allocations: 32.38 kB / 407.7 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005797/0.249, allocations: 294.3 kB / 408 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.249, allocations: 0 / 408 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.249, allocations: 12 kB / 408 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.2491, allocations: 12 kB / 408.1 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005893/0.2497, allocations: 246.5 kB / 408.3 MB, free: 1.871 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.2512, allocations: 1.112 MB / 409.4 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.2516, allocations: 154.5 kB / 409.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.2518, allocations: 64.81 kB / 409.6 MB, free: 440 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.2518, allocations: 12 kB / 409.6 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.2519, allocations: 30.56 kB / 409.7 MB, free: 388 kB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.253e-06/0.2519, allocations: 0 / 409.7 MB, free: 388 kB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.002029/0.2539, allocations: 0.594 MB / 410.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.2539, allocations: 55.41 kB / 410.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.2542, allocations: 262.5 kB / 410.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.2542, allocations: 29.7 kB / 410.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.2543, allocations: 231.4 kB / 410.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.2544, allocations: 71.02 kB / 410.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.966e-05/0.2545, allocations: 69.59 kB / 411 MB, free: 15.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.2546, allocations: 334.8 kB / 411.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/0.2549, allocations: 91.94 kB / 411.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003361/0.2552, allocations: 203.9 kB / 411.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006026/0.2558, allocations: 297.8 kB / 411.9 MB, free: 14.03 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.2559, allocations: 4 kB / 411.9 MB, free: 14.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008196/0.2567, allocations: 384.9 kB / 412.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.2567, allocations: 8 kB / 412.3 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.2567, allocations: 0 / 412.3 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002307/0.257, allocations: 66.08 kB / 412.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/0.2573, allocations: 71.89 kB / 412.4 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/0.2591, allocations: 2.845 MB / 415.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.2594, allocations: 23.97 kB / 415.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.2594, allocations: 16 kB / 415.3 MB, free: 10.32 MB / 334.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.0001474/0.2596, allocations: 157.7 kB / 415.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.826e-05/0.2596, allocations: 23.72 kB / 415.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.756e-05/0.2597, allocations: 30.17 kB / 415.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2597, allocations: 7.938 kB / 415.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2597, allocations: 3.938 kB / 415.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2597, allocations: 0 / 415.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/0.2601, allocations: 333.4 kB / 415.8 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2601, allocations: 0 / 415.8 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.2603, allocations: 39.97 kB / 415.9 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000139/0.2604, allocations: 49.69 kB / 415.9 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.2605, allocations: 7.984 kB / 415.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001775/0.2622, allocations: 2.837 MB / 418.7 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2623, allocations: 4.031 kB / 418.7 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007006/0.263, allocations: 372.3 kB / 419.1 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.691e-05/0.263, allocations: 104.7 kB / 419.2 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.2631, allocations: 8 kB / 419.2 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.2633, allocations: 19.98 kB / 419.2 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.493e-05/0.2634, allocations: 15.97 kB / 419.3 MB, free: 5.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.2634, allocations: 11.94 kB / 419.3 MB, free: 5.941 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001662/0.2636, allocations: 182 kB / 419.4 MB, free: 5.766 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2636, allocations: 0 / 419.4 MB, free: 5.766 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003673/0.2639, allocations: 76 kB / 419.5 MB, free: 5.691 MB / 334.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.0001098/0.2641, allocations: 115.1 kB / 419.6 MB, free: 5.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009155/0.265, allocations: 485.7 kB / 420.1 MB, free: 5.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.265, allocations: 4.25 kB / 420.1 MB, free: 5.066 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004884/0.2655, allocations: 341.3 kB / 420.4 MB, free: 4.707 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.2658, allocations: 20.56 kB / 420.5 MB, free: 4.688 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009848/0.2668, allocations: 0.5737 MB / 421 MB, free: 4.082 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.2671, allocations: 0.7713 MB / 421.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.369e-05/0.2672, allocations: 27.44 kB / 421.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2672, allocations: 0 / 421.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of Templates: time 0.007814/0.2751, allocations: 5.878 MB / 427.7 MB, free: 13.38 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches