Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 176.5 kB / 17.4 MB, free: 4.391 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.238/1.238, allocations: 223.3 MB / 241.4 MB, free: 9.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009375/0.0009375, allocations: 98.97 kB / 292.6 MB, free: 10.56 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000291/0.000291, allocations: 11.94 kB / 352.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1955, allocations: 50.39 MB / 402.7 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09263/0.2882, allocations: 81.09 MB / 483.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.2885, allocations: 87.95 kB / 483.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02203/0.3105, allocations: 8.389 MB / 492.3 MB, free: 6.742 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.656e-06/0.3105, allocations: 4 kB / 492.3 MB, free: 6.738 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.3105, allocations: 11.94 kB / 492.3 MB, free: 6.727 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.0009257/0.3115, allocations: 0.6012 MB / 492.9 MB, free: 6.074 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3115, allocations: 15.97 kB / 492.9 MB, free: 6.059 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.213e-05/0.3116, allocations: 36.47 kB / 493 MB, free: 6.023 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.3119, allocations: 277.3 kB / 493.2 MB, free: 5.711 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.312, allocations: 25.03 kB / 493.3 MB, free: 5.684 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.577e-05/0.312, allocations: 32.38 kB / 493.3 MB, free: 5.652 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005541/0.3126, allocations: 294.6 kB / 493.6 MB, free: 5.359 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3126, allocations: 192 / 493.6 MB, free: 5.359 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.641e-05/0.3127, allocations: 15.94 kB / 493.6 MB, free: 5.344 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.3127, allocations: 8 kB / 493.6 MB, free: 5.336 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005989/0.3133, allocations: 274.4 kB / 493.9 MB, free: 5.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.3149, allocations: 1.139 MB / 495 MB, free: 3.832 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003495/0.3153, allocations: 150.5 kB / 495.2 MB, free: 3.676 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.3155, allocations: 76.73 kB / 495.2 MB, free: 3.598 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.3155, allocations: 3.938 kB / 495.2 MB, free: 3.594 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.3155, allocations: 42.55 kB / 495.3 MB, free: 3.543 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.3155, allocations: 4 kB / 495.3 MB, free: 3.539 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.002004/0.3176, allocations: 0.6761 MB / 496 MB, free: 2.855 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.3176, allocations: 51.41 kB / 496 MB, free: 2.793 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.3179, allocations: 282.5 kB / 496.3 MB, free: 2.508 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.3179, allocations: 25.7 kB / 496.3 MB, free: 2.477 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.318, allocations: 223.5 kB / 496.5 MB, free: 2.254 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.371e-05/0.3181, allocations: 78.89 kB / 496.6 MB, free: 2.176 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.446e-05/0.3181, allocations: 8 kB / 496.6 MB, free: 2.168 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3182, allocations: 342.8 kB / 497 MB, free: 1.824 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.3185, allocations: 99.94 kB / 497.1 MB, free: 1.727 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.3188, allocations: 212.3 kB / 497.3 MB, free: 1.473 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005822/0.3194, allocations: 326.8 kB / 497.6 MB, free: 1.113 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3195, allocations: 0 / 497.6 MB, free: 1.113 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008117/0.3203, allocations: 421.2 kB / 498 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3203, allocations: 4 kB / 498 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.3203, allocations: 4 kB / 498 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002407/0.3206, allocations: 57.69 kB / 498.1 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/0.3209, allocations: 83.88 kB / 498.1 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.3227, allocations: 2.635 MB / 0.489 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.323, allocations: 31.97 kB / 0.4891 GB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.323, allocations: 12 kB / 0.4891 GB, free: 13.59 MB / 378.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 () * 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 (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.0001438/0.3232, allocations: 149.8 kB / 0.4892 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.3232, allocations: 23.72 kB / 0.4892 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.465e-05/0.3233, allocations: 38.11 kB / 0.4893 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.3233, allocations: 7.938 kB / 0.4893 GB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3233, allocations: 0 / 0.4893 GB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.3233, allocations: 0 / 0.4893 GB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/0.3237, allocations: 333.4 kB / 0.4896 GB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3237, allocations: 144 / 0.4896 GB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.3239, allocations: 51.97 kB / 0.4897 GB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001505/0.3241, allocations: 57.66 kB / 0.4897 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.3241, allocations: 15.94 kB / 0.4897 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/0.3258, allocations: 2.625 MB / 0.4923 GB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3258, allocations: 0 / 0.4923 GB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006803/0.3265, allocations: 392.8 kB / 0.4927 GB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.575e-05/0.3266, allocations: 112.7 kB / 0.4928 GB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.3266, allocations: 4 kB / 0.4928 GB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.3268, allocations: 15.98 kB / 0.4928 GB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/0.3269, allocations: 19.97 kB / 0.4928 GB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.3269, allocations: 12 kB / 0.4928 GB, free: 9.387 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001638/0.3271, allocations: 194 kB / 0.493 GB, free: 9.199 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3271, allocations: 0 / 0.493 GB, free: 9.199 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003509/0.3274, allocations: 76 kB / 0.4931 GB, free: 9.125 MB / 378.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 () * 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 (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.00014/0.3276, allocations: 115.2 kB / 0.4932 GB, free: 9.004 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008828/0.3285, allocations: 0.4931 MB / 0.4937 GB, free: 8.484 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3285, allocations: 3.938 kB / 0.4937 GB, free: 8.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005142/0.329, allocations: 354.1 kB / 0.494 GB, free: 8.109 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.3294, allocations: 36.95 kB / 0.494 GB, free: 8.074 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.3305, allocations: 0.685 MB / 0.4947 GB, free: 7.359 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.3308, allocations: 0.7752 MB / 0.4955 GB, free: 6.559 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001446/0.3309, allocations: 30.27 kB / 0.4955 GB, free: 6.531 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.887e-05/0.331, allocations: 19.44 kB / 0.4955 GB, free: 6.512 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.331, allocations: 0 / 0.4955 GB, free: 6.512 MB / 378.7 MB Notification: Performance of Templates: time 0.005796/0.3368, allocations: 2.559 MB / 0.498 GB, free: 4 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches