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.0009891/0.0009892, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008715/0.0008716, allocations: 89.94 kB / 292.1 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.546e-05/2.55e-05, allocations: 4 kB / 350.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1006, allocations: 51.49 MB / 402 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2963/0.3969, allocations: 81.72 MB / 483.8 MB, free: 7.711 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.3972, allocations: 82.92 kB / 483.8 MB, free: 7.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01934/0.4165, allocations: 8.398 MB / 492.2 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4166, allocations: 0 / 492.2 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.4166, allocations: 11.94 kB / 492.2 MB, free: 0.6406 MB / 346.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.0007689/0.4174, allocations: 0.567 MB / 492.8 MB, free: 60 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.4174, allocations: 12.03 kB / 492.8 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.939e-05/0.4175, allocations: 35.53 kB / 492.9 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.4179, allocations: 269.8 kB / 493.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.4179, allocations: 26.28 kB / 493.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.993e-05/0.418, allocations: 30.12 kB / 493.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004402/0.4184, allocations: 266.9 kB / 493.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.4184, allocations: 0 / 493.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.4185, allocations: 13.75 kB / 493.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.4185, allocations: 12 kB / 493.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003288/0.4188, allocations: 198.4 kB / 493.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.4204, allocations: 1.134 MB / 494.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.4207, allocations: 126.6 kB / 494.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.54e-05/0.4208, allocations: 52.84 kB / 495 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.4208, allocations: 4 kB / 495 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.4208, allocations: 38.52 kB / 495 MB, free: 14.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.683e-06/0.4208, allocations: 4 kB / 495 MB, free: 14.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001485/0.4223, allocations: 0.5042 MB / 495.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.4224, allocations: 63.53 kB / 495.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.4226, allocations: 231.1 kB / 495.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.4227, allocations: 29.7 kB / 495.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.4228, allocations: 219.5 kB / 496 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.467e-05/0.4228, allocations: 94.77 kB / 496.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.285e-05/0.4229, allocations: 4 kB / 496.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.423, allocations: 339 kB / 496.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.4231, allocations: 64 kB / 496.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.4233, allocations: 175.4 kB / 496.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.4235, allocations: 86.08 kB / 496.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.4235, allocations: 3.984 kB / 496.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005135/0.424, allocations: 341.4 kB / 497.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.424, allocations: 10.03 kB / 497.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.424, allocations: 4 kB / 497.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002346/0.4243, allocations: 61.86 kB / 497.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.4246, allocations: 71.89 kB / 497.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/0.4264, allocations: 2.642 MB / 499.9 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.4267, allocations: 23.98 kB / 499.9 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.4267, allocations: 16 kB / 500 MB, free: 8.73 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 9.364e-05/0.4268, allocations: 120.9 kB / 0.4884 GB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.706e-05/0.4269, allocations: 23.72 kB / 0.4884 GB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.64e-05/0.4269, allocations: 38.2 kB / 0.4884 GB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.4269, allocations: 4 kB / 0.4884 GB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.427, allocations: 3.984 kB / 0.4884 GB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.427, allocations: 3.984 kB / 0.4884 GB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/0.4273, allocations: 332.1 kB / 0.4887 GB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4273, allocations: 0 / 0.4887 GB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002088/0.4275, allocations: 47.91 kB / 0.4888 GB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001467/0.4277, allocations: 53.67 kB / 0.4888 GB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.4277, allocations: 8 kB / 0.4888 GB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/0.4294, allocations: 2.632 MB / 0.4914 GB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4294, allocations: 0 / 0.4914 GB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/0.4298, allocations: 318 kB / 0.4917 GB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.008e-05/0.4299, allocations: 101.6 kB / 0.4918 GB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.43, allocations: 0 / 0.4918 GB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.4302, allocations: 28.03 kB / 0.4918 GB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.4303, allocations: 27.92 kB / 0.4919 GB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.4303, allocations: 4 kB / 0.4919 GB, free: 4.641 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001912/0.4305, allocations: 183.1 kB / 0.492 GB, free: 4.465 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4305, allocations: 3.938 kB / 0.4921 GB, free: 4.461 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003836/0.4309, allocations: 72 kB / 0.4921 GB, free: 4.391 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.0001762/0.4311, allocations: 112.9 kB / 0.4922 GB, free: 4.273 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006391/0.4318, allocations: 429.2 kB / 0.4926 GB, free: 3.832 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4318, allocations: 0 / 0.4926 GB, free: 3.832 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003368/0.4321, allocations: 314 kB / 0.4929 GB, free: 3.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.4324, allocations: 23.36 kB / 0.493 GB, free: 3.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007269/0.4331, allocations: 341.9 kB / 0.4933 GB, free: 3.129 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.4335, allocations: 0.7868 MB / 0.4941 GB, free: 2.316 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001463/0.4336, allocations: 30.09 kB / 0.4941 GB, free: 2.285 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.924e-05/0.4337, allocations: 19.44 kB / 0.4941 GB, free: 2.266 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4337, allocations: 0 / 0.4941 GB, free: 2.266 MB / 362.7 MB Notification: Performance of Templates: time 0.005974/0.4397, allocations: 2.532 MB / 0.4966 GB, free: 15.79 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/jenkins/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