Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009115/0.0009115, allocations: 100.8 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009487/0.0009489, allocations: 202.7 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002095/0.0002095, allocations: 8 kB / 306.6 MB, free: 1.621 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07981/0.08003, allocations: 51.5 MB / 358.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.00399/0.08404, allocations: 4.055 MB / 362.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.08651, allocations: 1.944 MB / 364.1 MB, free: 8.094 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.08669, allocations: 16 kB / 364.1 MB, free: 8.078 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000437/0.08714, allocations: 234.7 kB / 364.3 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000682/0.08783, allocations: 366.9 kB / 364.7 MB, free: 7.488 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.08941, allocations: 0.985 MB / 365.7 MB, free: 6.504 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005291/0.08995, allocations: 0.503 MB / 366.2 MB, free: 6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001681/0.09164, allocations: 1.094 MB / 367.3 MB, free: 4.887 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002926/0.09195, allocations: 275 kB / 367.5 MB, free: 4.617 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003183/0.09227, allocations: 346.6 kB / 367.9 MB, free: 4.277 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.099e-05/0.09233, allocations: 32 kB / 367.9 MB, free: 4.246 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005308/0.09287, allocations: 331.5 kB / 368.2 MB, free: 3.922 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.657e-05/0.09296, allocations: 119.5 kB / 368.3 MB, free: 3.805 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.09307, allocations: 153.3 kB / 368.5 MB, free: 3.648 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007297/0.09381, allocations: 0.8768 MB / 369.4 MB, free: 2.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.09382, allocations: 3.938 kB / 369.4 MB, free: 2.766 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.09383, allocations: 7.938 kB / 369.4 MB, free: 2.758 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.09384, allocations: 0 / 369.4 MB, free: 2.758 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003661/0.09751, allocations: 1.346 MB / 370.7 MB, free: 1.359 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.09754, allocations: 8.031 kB / 370.7 MB, free: 1.352 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002398/0.09995, allocations: 390.7 kB / 371.1 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.1002, allocations: 254.7 kB / 371.4 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.12e-05/0.1002, allocations: 66 kB / 371.4 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.1003, allocations: 80 kB / 371.5 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1559/0.2562, allocations: 0.8744 MB / 372.4 MB, free: 18.72 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/0.2563, allocations: 1.828 kB / 372.4 MB, free: 18.72 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.501e-05/0.2564, allocations: 34.41 kB / 372.4 MB, free: 18.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/0.2564, allocations: 21.44 kB / 372.4 MB, free: 18.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.2584, allocations: 0.8223 MB / 373.3 MB, free: 18.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004821/0.2632, allocations: 3.05 MB / 376.3 MB, free: 17.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.2643, allocations: 1.009 MB / 377.3 MB, free: 16.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.2645, allocations: 175.4 kB / 377.5 MB, free: 16.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.2645, allocations: 38.62 kB / 377.5 MB, free: 16.17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.835e-06/0.2645, allocations: 0 / 377.5 MB, free: 16.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.008083/0.2726, allocations: 2.689 MB / 380.2 MB, free: 15.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.2727, allocations: 89.12 kB / 380.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003091/0.273, allocations: 298.8 kB / 380.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.273, allocations: 36.59 kB / 380.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.2732, allocations: 364.1 kB / 381 MB, free: 14.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.2733, allocations: 212.5 kB / 381.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.2733, allocations: 16.31 kB / 381.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.873e-05/0.2734, allocations: 346.7 kB / 381.5 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008004/0.2742, allocations: 299.6 kB / 381.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009006/0.2751, allocations: 0.5216 MB / 382.4 MB, free: 13.49 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008582/0.276, allocations: 365.3 kB / 382.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.276, allocations: 2.781 kB / 382.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002207/0.2782, allocations: 0.9398 MB / 383.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.2783, allocations: 12.72 kB / 383.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.2783, allocations: 7.281 kB / 383.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002679/0.2786, allocations: 72.72 kB / 383.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009471/0.2795, allocations: 210 kB / 384 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.2811, allocations: 2.675 MB / 386.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007066/0.2818, allocations: 79.06 kB / 386.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.575e-05/0.2819, allocations: 39.56 kB / 386.7 MB, free: 10.22 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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.0002788/0.2822, allocations: 210.4 kB / 387 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.42e-05/0.2822, allocations: 39 kB / 387 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/0.2844, allocations: 0.7959 MB / 387.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.2844, allocations: 7.375 kB / 387.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2844, allocations: 1.875 kB / 387.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.2844, allocations: 3.906 kB / 387.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00312/0.2875, allocations: 1.461 MB / 389.3 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.2876, allocations: 1.125 kB / 389.3 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007068/0.2883, allocations: 155.2 kB / 389.4 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001734/0.2885, allocations: 56.44 kB / 389.5 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.913e-05/0.2885, allocations: 21.3 kB / 389.5 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/0.2898, allocations: 2.663 MB / 392.2 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2898, allocations: 0 / 392.2 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002635/0.2925, allocations: 1.159 MB / 393.3 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00022/0.2927, allocations: 166.3 kB / 393.5 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.408e-05/0.2928, allocations: 10.91 kB / 393.5 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005316/0.2933, allocations: 57.83 kB / 393.5 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.2934, allocations: 49.22 kB / 393.6 MB, free: 5.586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.332e-05/0.2935, allocations: 24.16 kB / 393.6 MB, free: 5.578 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002328/0.2937, allocations: 208.8 kB / 393.8 MB, free: 5.457 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2937, allocations: 3.719 kB / 393.8 MB, free: 5.457 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009408/0.2947, allocations: 177 kB / 394 MB, free: 5.434 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003032/0.295, allocations: 159.8 kB / 394.1 MB, free: 5.324 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002217/0.2972, allocations: 0.9622 MB / 395.1 MB, free: 4.883 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2973, allocations: 0 / 395.1 MB, free: 4.883 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009606/0.2982, allocations: 0.5714 MB / 395.7 MB, free: 4.559 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.2985, allocations: 36.78 kB / 395.7 MB, free: 4.539 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.3011, allocations: 1.539 MB / 397.3 MB, free: 3.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.3014, allocations: 0.8915 MB / 398.1 MB, free: 2.785 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004552/0.3019, allocations: 100.6 kB / 398.2 MB, free: 2.723 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.3021, allocations: 52.03 kB / 398.3 MB, free: 2.703 MB / 302.1 MB Notification: Performance of SimCode: time 1.443e-06/0.3021, allocations: 1.062 kB / 398.3 MB, free: 2.703 MB / 302.1 MB Notification: Performance of Templates: time 0.009534/0.3116, allocations: 5.839 MB / 404.1 MB, free: 15.41 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches