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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009501/0.0009502, allocations: 175.6 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 221.3 MB / 235.5 MB, free: 2.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008447/0.0008448, allocations: 91.55 kB / 286.5 MB, free: 216 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.039e-05/2.043e-05, allocations: 4 kB / 343.8 MB, free: 4.297 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08962/0.08965, allocations: 50.41 MB / 394.3 MB, free: 1.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3118/0.4015, allocations: 80.87 MB / 475.1 MB, free: 6.676 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.4018, allocations: 87.78 kB / 475.2 MB, free: 6.594 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02448/0.4263, allocations: 8.301 MB / 483.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4263, allocations: 0 / 483.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.434e-05/0.4264, allocations: 12 kB / 483.5 MB, free: 14.26 MB / 362.7 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.0009404/0.4274, allocations: 0.5661 MB / 484.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.4274, allocations: 8.031 kB / 484.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.252e-05/0.4275, allocations: 31.62 kB / 484.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.4279, allocations: 271.2 kB / 484.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.4279, allocations: 20.78 kB / 484.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.311e-05/0.428, allocations: 32 kB / 484.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004739/0.4285, allocations: 259.7 kB / 484.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.4285, allocations: 0 / 484.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/0.4285, allocations: 16 kB / 484.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.4285, allocations: 15.95 kB / 484.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003669/0.4289, allocations: 199.1 kB / 484.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.4307, allocations: 1.128 MB / 486 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.431, allocations: 126.7 kB / 486.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.021e-05/0.4311, allocations: 52.84 kB / 486.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.4311, allocations: 4 kB / 486.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.4312, allocations: 38.5 kB / 486.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.352e-06/0.4312, allocations: 4 kB / 486.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001542/0.4327, allocations: 0.5043 MB / 486.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.4328, allocations: 55.59 kB / 486.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.433, allocations: 242.7 kB / 487.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.4331, allocations: 29.7 kB / 487.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.4332, allocations: 219.5 kB / 487.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.945e-05/0.4333, allocations: 78.89 kB / 487.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.541e-05/0.4333, allocations: 12 kB / 487.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.4334, allocations: 330.8 kB / 487.7 MB, free: 9.785 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.4335, allocations: 67.94 kB / 487.8 MB, free: 9.719 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.4337, allocations: 160.5 kB / 487.9 MB, free: 9.516 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.4339, allocations: 101 kB / 488 MB, free: 9.418 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4339, allocations: 0 / 488 MB, free: 9.418 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005448/0.4345, allocations: 333.5 kB / 488.4 MB, free: 9.082 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4345, allocations: 8 kB / 488.4 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.4345, allocations: 4 kB / 488.4 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002388/0.4348, allocations: 61.89 kB / 488.4 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/0.4351, allocations: 87.78 kB / 488.5 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/0.4372, allocations: 2.64 MB / 491.2 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/0.4375, allocations: 31.97 kB / 491.2 MB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.4375, allocations: 12 kB / 491.2 MB, free: 5.969 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.4376, allocations: 125.5 kB / 491.3 MB, free: 5.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.4377, allocations: 23.72 kB / 491.3 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.793e-05/0.4378, allocations: 33.97 kB / 491.4 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4378, allocations: 4 kB / 491.4 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4378, allocations: 0 / 491.4 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4378, allocations: 0 / 491.4 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003708/0.4382, allocations: 325.7 kB / 491.7 MB, free: 5.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4382, allocations: 3.984 kB / 491.7 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.4384, allocations: 47.97 kB / 491.8 MB, free: 5.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001509/0.4386, allocations: 57.62 kB / 491.8 MB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.4386, allocations: 0 / 491.8 MB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/0.4403, allocations: 2.632 MB / 494.4 MB, free: 2.395 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4403, allocations: 0 / 494.4 MB, free: 2.395 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004183/0.4408, allocations: 318.1 kB / 494.8 MB, free: 2.062 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.46e-05/0.4408, allocations: 104.8 kB / 494.9 MB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.4409, allocations: 4 kB / 494.9 MB, free: 1.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.4411, allocations: 20.05 kB / 494.9 MB, free: 1.918 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.764e-05/0.4412, allocations: 23.91 kB / 494.9 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.4412, allocations: 4 kB / 494.9 MB, free: 1.891 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001894/0.4414, allocations: 183.1 kB / 495.1 MB, free: 1.715 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4414, allocations: 0 / 495.1 MB, free: 1.715 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005658/0.442, allocations: 72 kB / 495.2 MB, free: 1.645 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001599/0.4421, allocations: 111.2 kB / 495.3 MB, free: 1.527 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006316/0.4428, allocations: 433.6 kB / 495.7 MB, free: 1.078 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4428, allocations: 0 / 495.7 MB, free: 1.078 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003244/0.4431, allocations: 320.6 kB / 496 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.4434, allocations: 28.38 kB / 496 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007138/0.4441, allocations: 329.3 kB / 496.3 MB, free: 380 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.4445, allocations: 0.783 MB / 497.1 MB, free: 15.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001438/0.4446, allocations: 30.19 kB / 497.2 MB, free: 15.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.913e-05/0.4447, allocations: 19.44 kB / 497.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4447, allocations: 0 / 497.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of Templates: time 0.006016/0.4507, allocations: 2.526 MB / 499.7 MB, free: 13 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches