Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00108/0.00108, 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.343/1.343, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008812/0.0008812, allocations: 88 kB / 292.1 MB, free: 5.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.344e-05/3.36e-05, allocations: 4 kB / 350.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08667/0.08673, allocations: 51.49 MB / 402 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3111/0.3979, allocations: 82.24 MB / 484.3 MB, free: 7.227 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001923/0.3981, allocations: 88.31 kB / 484.4 MB, free: 7.184 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0304/0.4285, allocations: 12.4 MB / 496.8 MB, free: 12.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4285, allocations: 4 kB / 496.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.4286, allocations: 16 kB / 496.8 MB, free: 12.49 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001281/0.4299, allocations: 0.7183 MB / 497.5 MB, free: 11.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.4299, allocations: 12.03 kB / 497.5 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.43, allocations: 63.25 kB / 497.6 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005167/0.4306, allocations: 349.9 kB / 497.9 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/0.4306, allocations: 41.31 kB / 497.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.879e-05/0.4307, allocations: 51.98 kB / 498 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000694/0.4314, allocations: 410.2 kB / 498.4 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.4314, allocations: 0 / 498.4 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.114e-05/0.4315, allocations: 20 kB / 498.4 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.4315, allocations: 16 kB / 498.4 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005985/0.4321, allocations: 337.2 kB / 498.8 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002461/0.4346, allocations: 1.6 MB / 0.4886 GB, free: 8.703 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006192/0.4352, allocations: 389.4 kB / 0.489 GB, free: 8.293 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/0.4355, allocations: 165.4 kB / 0.4892 GB, free: 8.129 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.4356, allocations: 4.328 kB / 0.4892 GB, free: 8.125 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.4356, allocations: 38.89 kB / 0.4892 GB, free: 8.078 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 1.874e-06/0.4356, allocations: 0 / 0.4892 GB, free: 8.078 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.002597/0.4382, allocations: 1.059 MB / 0.4902 GB, free: 7.008 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.4383, allocations: 55.97 kB / 0.4903 GB, free: 6.938 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003626/0.4386, allocations: 355.5 kB / 0.4906 GB, free: 6.586 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.4387, allocations: 37.7 kB / 0.4907 GB, free: 6.543 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.4389, allocations: 311.8 kB / 0.491 GB, free: 6.234 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.439, allocations: 181.3 kB / 0.4911 GB, free: 6.055 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.439, allocations: 16 kB / 0.4912 GB, free: 6.039 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4392, allocations: 362.7 kB / 0.4915 GB, free: 5.676 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/0.4394, allocations: 141.6 kB / 0.4916 GB, free: 5.539 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/0.4397, allocations: 268.3 kB / 0.4919 GB, free: 5.234 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.4401, allocations: 184.8 kB / 0.4921 GB, free: 5.059 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4401, allocations: 0 / 0.4921 GB, free: 5.059 MB / 362.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001073/0.4411, allocations: 0.6717 MB / 0.4927 GB, free: 4.371 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.4412, allocations: 15.98 kB / 0.4927 GB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.4412, allocations: 4 kB / 0.4927 GB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005079/0.4417, allocations: 177.6 kB / 0.4929 GB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004784/0.4422, allocations: 119.8 kB / 0.493 GB, free: 4.055 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003861/0.4461, allocations: 3.882 MB / 0.4968 GB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004079/0.4465, allocations: 44.03 kB / 0.4969 GB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.4465, allocations: 23.98 kB / 0.4969 GB, free: 15.84 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * 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%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000112/0.4467, allocations: 131 kB / 0.497 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.7e-05/0.4467, allocations: 51.44 kB / 0.4971 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.4469, allocations: 52.86 kB / 0.4971 GB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.4469, allocations: 15.95 kB / 0.4971 GB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.4469, allocations: 4 kB / 0.4971 GB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.4469, allocations: 3.984 kB / 0.4971 GB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001826/0.4487, allocations: 1.226 MB / 0.4983 GB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.4488, allocations: 4 kB / 0.4983 GB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003135/0.4491, allocations: 76.02 kB / 0.4984 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003863/0.4495, allocations: 165.5 kB / 0.4986 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.4495, allocations: 8 kB / 0.4986 GB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003249/0.4528, allocations: 3.695 MB / 0.5022 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.4528, allocations: 8.016 kB / 0.5022 GB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009523/0.4538, allocations: 0.6837 MB / 0.5029 GB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.4539, allocations: 124.4 kB / 0.503 GB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.4539, allocations: 12 kB / 0.503 GB, free: 9.164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003059/0.4542, allocations: 27.97 kB / 0.503 GB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.4544, allocations: 48.31 kB / 0.5031 GB, free: 9.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.4544, allocations: 12 kB / 0.5031 GB, free: 9.078 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002997/0.4547, allocations: 281.2 kB / 0.5033 GB, free: 8.805 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4547, allocations: 0 / 0.5033 GB, free: 8.805 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006771/0.4554, allocations: 152 kB / 0.5035 GB, free: 8.656 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000176/0.4556, allocations: 117.5 kB / 0.5036 GB, free: 8.535 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.4567, allocations: 0.7136 MB / 0.5043 GB, free: 7.805 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4567, allocations: 0 / 0.5043 GB, free: 7.805 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006465/0.4574, allocations: 0.4941 MB / 0.5048 GB, free: 7.285 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.4577, allocations: 45.89 kB / 0.5048 GB, free: 7.246 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.4589, allocations: 0.6291 MB / 0.5054 GB, free: 6.582 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.4593, allocations: 0.8795 MB / 0.5063 GB, free: 5.676 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002035/0.4595, allocations: 40.38 kB / 0.5063 GB, free: 5.633 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.06e-05/0.4596, allocations: 35.42 kB / 0.5064 GB, free: 5.598 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4596, allocations: 0 / 0.5064 GB, free: 5.598 MB / 378.7 MB Notification: Performance of Templates: time 0.008972/0.4686, allocations: 4.591 MB / 0.5108 GB, free: 1.066 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches