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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.0009822/0.0009822, allocations: 196.6 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 226.5 MB / 245.4 MB, free: 6.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007711/0.0007711, allocations: 100.9 kB / 297.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002164/0.0002165, allocations: 4 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2051, allocations: 51.3 MB / 409.4 MB, free: 27.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09242/0.2976, allocations: 81.69 MB / 491.1 MB, free: 9.801 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001882/0.2978, allocations: 87.94 kB / 491.2 MB, free: 9.715 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02219/0.32, allocations: 8.369 MB / 499.5 MB, free: 1.328 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.32, allocations: 0 / 499.5 MB, free: 1.328 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.3201, allocations: 8 kB / 499.5 MB, free: 1.32 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.001019/0.3211, allocations: 0.5934 MB / 0.4884 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3211, allocations: 12.03 kB / 0.4884 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.3213, allocations: 36.56 kB / 0.4885 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.3216, allocations: 272.7 kB / 0.4887 GB, free: 332 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.3217, allocations: 29.03 kB / 0.4887 GB, free: 304 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.475e-05/0.3218, allocations: 28.38 kB / 0.4888 GB, free: 276 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006314/0.3224, allocations: 298.6 kB / 0.4891 GB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3224, allocations: 192 / 0.4891 GB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.3225, allocations: 15.94 kB / 0.4891 GB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.3225, allocations: 8 kB / 0.4891 GB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006074/0.3231, allocations: 266.5 kB / 0.4893 GB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.3248, allocations: 1.139 MB / 0.4904 GB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.3252, allocations: 150.6 kB / 0.4906 GB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.3254, allocations: 72.83 kB / 0.4907 GB, free: 14.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.3254, allocations: 7.938 kB / 0.4907 GB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.3254, allocations: 30.56 kB / 0.4907 GB, free: 14.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.473e-06/0.3254, allocations: 0 / 0.4907 GB, free: 14.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001973/0.3274, allocations: 0.6748 MB / 0.4913 GB, free: 13.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.3275, allocations: 59.41 kB / 0.4914 GB, free: 13.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.3277, allocations: 258.5 kB / 0.4917 GB, free: 13.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.3278, allocations: 33.7 kB / 0.4917 GB, free: 13.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.3279, allocations: 215.5 kB / 0.4919 GB, free: 12.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.358e-05/0.3279, allocations: 86.83 kB / 0.492 GB, free: 12.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/0.328, allocations: 4 kB / 0.492 GB, free: 12.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3281, allocations: 342.8 kB / 0.4923 GB, free: 12.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.3284, allocations: 107.9 kB / 0.4924 GB, free: 12.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.3287, allocations: 196.3 kB / 0.4926 GB, free: 12.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005715/0.3293, allocations: 329.1 kB / 0.4929 GB, free: 11.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3293, allocations: 4 kB / 0.4929 GB, free: 11.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008245/0.3301, allocations: 409.3 kB / 0.4933 GB, free: 11.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.3301, allocations: 8 kB / 0.4933 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.3302, allocations: 4 kB / 0.4933 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002365/0.3304, allocations: 57.61 kB / 0.4934 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.3307, allocations: 79.89 kB / 0.4934 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/0.3328, allocations: 2.639 MB / 0.496 GB, free: 8.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.3331, allocations: 32.09 kB / 0.4961 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.3332, allocations: 16 kB / 0.4961 GB, free: 8.238 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.0001948/0.3334, allocations: 150.4 kB / 0.4962 GB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.3334, allocations: 19.72 kB / 0.4962 GB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.112e-05/0.3335, allocations: 42.11 kB / 0.4963 GB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3335, allocations: 4.188 kB / 0.4963 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.3335, allocations: 0 / 0.4963 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.3335, allocations: 3.984 kB / 0.4963 GB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004332/0.334, allocations: 329.4 kB / 0.4966 GB, free: 7.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.334, allocations: 3.984 kB / 0.4966 GB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.3342, allocations: 43.91 kB / 0.4966 GB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001493/0.3344, allocations: 53.69 kB / 0.4967 GB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.3344, allocations: 11.92 kB / 0.4967 GB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/0.3361, allocations: 2.633 MB / 0.4993 GB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3361, allocations: 3.938 kB / 0.4993 GB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006568/0.3368, allocations: 396.7 kB / 0.4997 GB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.882e-05/0.3369, allocations: 96.77 kB / 0.4997 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.3369, allocations: 4 kB / 0.4997 GB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.3371, allocations: 35.91 kB / 0.4998 GB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.3372, allocations: 15.97 kB / 0.4998 GB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.3372, allocations: 8 kB / 0.4998 GB, free: 4.043 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001755/0.3374, allocations: 178 kB / 0.5 GB, free: 3.867 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3374, allocations: 0 / 0.5 GB, free: 3.867 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003729/0.3377, allocations: 76 kB / 0.5 GB, free: 3.793 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.0001791/0.3379, allocations: 115.2 kB / 0.5002 GB, free: 3.672 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008954/0.3388, allocations: 0.4898 MB / 0.5006 GB, free: 3.156 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3389, allocations: 0 / 0.5006 GB, free: 3.156 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004615/0.3393, allocations: 364.4 kB / 0.501 GB, free: 2.777 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.3397, allocations: 26.95 kB / 0.501 GB, free: 2.754 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.3408, allocations: 0.6637 MB / 0.5017 GB, free: 2.059 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.3411, allocations: 0.7831 MB / 0.5024 GB, free: 1.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001484/0.3413, allocations: 30.33 kB / 0.5025 GB, free: 1.223 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.862e-05/0.3414, allocations: 23.42 kB / 0.5025 GB, free: 1.199 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.3414, allocations: 0 / 0.5025 GB, free: 1.199 MB / 378.7 MB Notification: Performance of Templates: time 0.1675/0.5089, allocations: 2.493 MB / 0.5049 GB, free: 96.67 MB / 378.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches