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.0009966/0.0009967, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.309/1.309, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.0008452/0.0008452, allocations: 99.25 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002329/0.0002331, allocations: 11.94 kB / 351.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2224, allocations: 50.4 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09214/0.3146, allocations: 81.05 MB / 482.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.3149, allocations: 88.48 kB / 482.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02225/0.3371, allocations: 8.392 MB / 491 MB, free: 6.918 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.987e-06/0.3372, allocations: 0 / 491 MB, free: 6.918 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.3372, allocations: 7.938 kB / 491 MB, free: 6.91 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.001015/0.3382, allocations: 0.6156 MB / 491.6 MB, free: 6.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.3383, allocations: 8.031 kB / 491.7 MB, free: 6.242 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.68e-05/0.3383, allocations: 39.53 kB / 491.7 MB, free: 6.203 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.3387, allocations: 264.2 kB / 491.9 MB, free: 5.902 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.3387, allocations: 28.64 kB / 492 MB, free: 5.871 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.785e-05/0.3388, allocations: 43.83 kB / 492 MB, free: 5.828 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005713/0.3394, allocations: 290 kB / 492.3 MB, free: 5.543 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3394, allocations: 0 / 492.3 MB, free: 5.543 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.3395, allocations: 15.94 kB / 492.3 MB, free: 5.527 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.3395, allocations: 11.95 kB / 492.3 MB, free: 5.516 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006147/0.3401, allocations: 270.5 kB / 492.6 MB, free: 5.254 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.3417, allocations: 1.132 MB / 493.7 MB, free: 4.023 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000361/0.3421, allocations: 158.5 kB / 493.9 MB, free: 3.859 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.3421, allocations: 4 kB / 493.9 MB, free: 3.855 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.3422, allocations: 34.56 kB / 493.9 MB, free: 3.812 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.333e-06/0.3422, allocations: 0 / 493.9 MB, free: 3.812 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.002062/0.3443, allocations: 0.6814 MB / 494.6 MB, free: 3.121 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.3443, allocations: 55.59 kB / 494.7 MB, free: 3.055 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.3446, allocations: 249.7 kB / 494.9 MB, free: 2.805 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.3446, allocations: 29.7 kB / 494.9 MB, free: 2.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.3447, allocations: 231.4 kB / 495.2 MB, free: 2.539 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.3448, allocations: 71 kB / 495.2 MB, free: 2.469 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.419e-05/0.3448, allocations: 8 kB / 495.2 MB, free: 2.461 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3449, allocations: 338.8 kB / 495.6 MB, free: 2.121 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.3452, allocations: 99.94 kB / 495.7 MB, free: 2.023 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003249/0.3455, allocations: 208.2 kB / 495.9 MB, free: 1.773 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/0.3458, allocations: 134.8 kB / 496 MB, free: 1.645 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.3458, allocations: 3.953 kB / 496 MB, free: 1.641 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007882/0.3466, allocations: 421.5 kB / 496.4 MB, free: 1.219 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3467, allocations: 4 kB / 496.4 MB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3467, allocations: 4 kB / 496.4 MB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002282/0.3469, allocations: 65.67 kB / 496.5 MB, free: 1.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.3472, allocations: 75.89 kB / 496.6 MB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/0.349, allocations: 2.651 MB / 499.2 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.3493, allocations: 27.98 kB / 499.2 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.3494, allocations: 12 kB / 499.2 MB, free: 14.11 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.0001639/0.3495, allocations: 160.1 kB / 499.4 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.3496, allocations: 31.69 kB / 499.4 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.195e-05/0.3497, allocations: 38.17 kB / 499.5 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3497, allocations: 7.953 kB / 499.5 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3497, allocations: 0 / 499.5 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.3497, allocations: 0 / 499.5 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/0.35, allocations: 333.6 kB / 499.8 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.35, allocations: 4 kB / 499.8 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.3503, allocations: 39.97 kB / 499.8 MB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001483/0.3504, allocations: 57.67 kB / 499.9 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.3504, allocations: 4 kB / 499.9 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/0.3521, allocations: 2.644 MB / 0.4908 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3521, allocations: 0 / 0.4908 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006853/0.3528, allocations: 394.1 kB / 0.4911 GB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/0.3529, allocations: 112.7 kB / 0.4913 GB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.3529, allocations: 7.938 kB / 0.4913 GB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.3531, allocations: 19.98 kB / 0.4913 GB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.3532, allocations: 23.91 kB / 0.4913 GB, free: 9.883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.3532, allocations: 8 kB / 0.4913 GB, free: 9.875 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001716/0.3534, allocations: 198 kB / 0.4915 GB, free: 9.684 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3534, allocations: 0 / 0.4915 GB, free: 9.684 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003679/0.3538, allocations: 76 kB / 0.4916 GB, free: 9.609 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.0001447/0.3539, allocations: 111.8 kB / 0.4917 GB, free: 9.488 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008586/0.3548, allocations: 0.4893 MB / 0.4922 GB, free: 8.973 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3548, allocations: 0 / 0.4922 GB, free: 8.973 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004608/0.3553, allocations: 362 kB / 0.4925 GB, free: 8.594 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.3555, allocations: 35.44 kB / 0.4925 GB, free: 8.562 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009825/0.3565, allocations: 0.6756 MB / 0.4932 GB, free: 7.863 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.3568, allocations: 0.7907 MB / 0.494 GB, free: 7.047 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000133/0.357, allocations: 26.28 kB / 0.494 GB, free: 7.023 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.081e-05/0.357, allocations: 19.44 kB / 0.494 GB, free: 7.004 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3571, allocations: 0 / 0.494 GB, free: 7.004 MB / 378.7 MB Notification: Performance of Templates: time 0.0055/0.3626, allocations: 2.534 MB / 0.4965 GB, free: 4.508 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/jenkins/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