Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009603/0.0009604, allocations: 176.4 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008009/0.0008009, allocations: 83.66 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.19e-05/1.193e-05, allocations: 0 / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.118, allocations: 50.42 MB / 387.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3594/0.4775, allocations: 80.73 MB / 468.2 MB, free: 14.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.4778, allocations: 83.95 kB / 468.3 MB, free: 14.03 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03322/0.511, allocations: 12.16 MB / 480.4 MB, free: 1.836 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.511, allocations: 0 / 480.4 MB, free: 1.836 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.511, allocations: 8 kB / 480.4 MB, free: 1.828 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001242/0.5123, allocations: 0.721 MB / 481.2 MB, free: 1.062 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.5124, allocations: 12.03 kB / 481.2 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.5125, allocations: 59.25 kB / 481.2 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004759/0.513, allocations: 347.3 kB / 481.6 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.513, allocations: 20 kB / 481.6 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.833e-05/0.5131, allocations: 31.98 kB / 481.6 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005545/0.5136, allocations: 310.6 kB / 481.9 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006026/0.5142, allocations: 328 kB / 482.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.5143, allocations: 0 / 482.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.5143, allocations: 3.953 kB / 482.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.5143, allocations: 12 kB / 482.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002299/0.5166, allocations: 1.501 MB / 483.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005628/0.5172, allocations: 365 kB / 484.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.5175, allocations: 153.5 kB / 484.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.018e-05/0.5175, allocations: 4.328 kB / 484.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.5176, allocations: 38.89 kB / 484.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 1.663e-06/0.5176, allocations: 0 / 484.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.001746/0.5193, allocations: 0.8314 MB / 485.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.5194, allocations: 55.97 kB / 485.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.5197, allocations: 322.2 kB / 485.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.5198, allocations: 25.7 kB / 485.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.52, allocations: 307.7 kB / 485.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.5201, allocations: 181.2 kB / 486 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-05/0.5201, allocations: 0 / 486 MB, free: 11.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.5203, allocations: 354.8 kB / 486.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.5205, allocations: 129.5 kB / 486.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002842/0.5208, allocations: 250.8 kB / 486.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.5211, allocations: 170.1 kB / 486.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.5211, allocations: 0 / 486.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009537/0.522, allocations: 0.6055 MB / 487.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.5221, allocations: 8 kB / 487.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.5221, allocations: 4 kB / 487.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004893/0.5226, allocations: 169.8 kB / 487.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004789/0.5231, allocations: 127.8 kB / 487.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003657/0.5267, allocations: 3.746 MB / 491.6 MB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005625/0.5273, allocations: 23.89 kB / 491.6 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.006e-05/0.5274, allocations: 28 kB / 491.6 MB, free: 6.082 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 (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.0001986/0.5276, allocations: 116.8 kB / 491.7 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.5278, allocations: 47.42 kB / 491.8 MB, free: 5.914 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001694/0.5279, allocations: 52.69 kB / 491.8 MB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.5279, allocations: 4 kB / 491.8 MB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-05/0.528, allocations: 4 kB / 491.8 MB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.528, allocations: 3.984 kB / 491.8 MB, free: 5.852 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/0.53, allocations: 1.114 MB / 492.9 MB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.5301, allocations: 4 kB / 492.9 MB, free: 4.676 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003003/0.5304, allocations: 72.02 kB / 493 MB, free: 4.605 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003974/0.5308, allocations: 157.6 kB / 493.2 MB, free: 4.445 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.5308, allocations: 4 kB / 493.2 MB, free: 4.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003302/0.5341, allocations: 3.536 MB / 496.7 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.5342, allocations: 3.938 kB / 496.7 MB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008775/0.535, allocations: 0.6407 MB / 497.4 MB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.847e-05/0.5352, allocations: 116.5 kB / 497.5 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/0.5352, allocations: 7.984 kB / 497.5 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/0.5355, allocations: 20.36 kB / 497.5 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.225e-05/0.5356, allocations: 44.38 kB / 497.5 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.5356, allocations: 20 kB / 497.6 MB, free: 15.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002396/0.5359, allocations: 236.6 kB / 497.8 MB, free: 15.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5359, allocations: 3.938 kB / 497.8 MB, free: 15.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006984/0.5366, allocations: 124 kB / 497.9 MB, free: 15.39 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.0001796/0.5368, allocations: 121.4 kB / 498 MB, free: 15.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.5378, allocations: 0.656 MB / 498.7 MB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5379, allocations: 0 / 498.7 MB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000559/0.5384, allocations: 478.2 kB / 499.2 MB, free: 14.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.5388, allocations: 29.28 kB / 499.2 MB, free: 14.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.54, allocations: 0.6024 MB / 499.8 MB, free: 13.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.5404, allocations: 0.8678 MB / 0.4889 GB, free: 12.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001929/0.5406, allocations: 48.25 kB / 0.489 GB, free: 12.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.287e-05/0.5407, allocations: 27.44 kB / 0.489 GB, free: 12.46 MB / 378.7 MB Notification: Performance of SimCode: time 4.1e-07/0.5407, allocations: 0 / 0.489 GB, free: 12.46 MB / 378.7 MB Notification: Performance of Templates: time 0.008454/0.5491, allocations: 4.268 MB / 0.4932 GB, free: 8.199 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches