Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.QuadraticCoreAirgap,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.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,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.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001049/0.001049, allocations: 114.1 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00109/0.00109, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 59.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2039, allocations: 50.54 MB / 409.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.007243/0.2111, allocations: 6.713 MB / 416.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003216/0.2144, allocations: 2.44 MB / 419.1 MB, free: 8.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002614/0.2147, allocations: 24 kB / 419.1 MB, free: 8.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003716/0.2184, allocations: 1.882 MB / 421 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.2194, allocations: 0.5472 MB / 421.6 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002227/0.2216, allocations: 1.318 MB / 422.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000988/0.2226, allocations: 1.117 MB / 424 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.2238, allocations: 0.944 MB / 424.9 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004629/0.2243, allocations: 486.1 kB / 425.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006044/0.2249, allocations: 0.6069 MB / 426 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.225, allocations: 100 kB / 426.1 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006464/0.2257, allocations: 455.6 kB / 426.6 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.2258, allocations: 247 kB / 426.8 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004179/0.2263, allocations: 0.5597 MB / 427.4 MB, free: 284 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.2277, allocations: 1.674 MB / 429 MB, free: 14.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2277, allocations: 0 / 429 MB, free: 14.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2278, allocations: 0 / 429 MB, free: 14.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.2278, allocations: 4 kB / 429 MB, free: 14.59 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.005928/0.2337, allocations: 2.018 MB / 431.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.2337, allocations: 12.03 kB / 431.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003623/0.2374, allocations: 0.507 MB / 431.6 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.2376, allocations: 314.5 kB / 431.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.677e-05/0.2377, allocations: 98.95 kB / 432 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.2379, allocations: 124.4 kB / 432.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/0.2402, allocations: 1.296 MB / 433.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/0.2402, allocations: 4 kB / 433.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.2403, allocations: 56 kB / 433.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.2404, allocations: 32 kB / 433.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0024/0.2428, allocations: 1.189 MB / 434.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005953/0.2487, allocations: 4.276 MB / 438.9 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/0.2513, allocations: 2.448 MB / 441.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009046/0.2522, allocations: 0.5111 MB / 441.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001769/0.2524, allocations: 183.2 kB / 442.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.2525, allocations: 43.56 kB / 442.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 2.484e-06/0.2525, allocations: 0 / 442.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.009745/0.2622, allocations: 3.768 MB / 445.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.2623, allocations: 90.11 kB / 446 MB, free: 12.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003938/0.2627, allocations: 393.4 kB / 446.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.359e-05/0.2627, allocations: 49.7 kB / 446.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.263, allocations: 447 kB / 446.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.2633, allocations: 429.8 kB / 447.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003246/0.2636, allocations: 223.5 kB / 447.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.2638, allocations: 374.8 kB / 447.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009977/0.2648, allocations: 435.8 kB / 448.3 MB, free: 10.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/0.2659, allocations: 0.6918 MB / 449 MB, free: 9.703 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002195/0.2681, allocations: 1.175 MB / 450.1 MB, free: 8.434 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2682, allocations: 0 / 450.1 MB, free: 8.434 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002899/0.2711, allocations: 1.466 MB / 451.6 MB, free: 6.953 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.2711, allocations: 11.94 kB / 451.6 MB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.2711, allocations: 8 kB / 451.6 MB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005014/0.2716, allocations: 201.6 kB / 451.8 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.2728, allocations: 283.6 kB / 452.1 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004004/0.2768, allocations: 4.367 MB / 456.5 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007744/0.2776, allocations: 79.84 kB / 456.6 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.486e-05/0.2777, allocations: 59.92 kB / 456.6 MB, free: 1.676 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003433/0.2781, allocations: 277.5 kB / 456.9 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.2782, allocations: 67.16 kB / 456.9 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002903/0.2811, allocations: 1.339 MB / 458.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.2811, allocations: 7.969 kB / 458.3 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.2812, allocations: 0 / 458.3 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002715/0.2814, allocations: 232.1 kB / 458.5 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-05/0.2815, allocations: 20 kB / 458.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006352/0.2822, allocations: 63.94 kB / 458.6 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.2824, allocations: 92.86 kB / 458.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00323/0.2856, allocations: 1.346 MB / 460 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003292/0.2889, allocations: 1.714 MB / 461.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009405/0.2899, allocations: 467.7 kB / 462.2 MB, free: 12.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002687/0.2901, allocations: 271.2 kB / 462.5 MB, free: 11.74 MB / 382.1 MB Notification: Performance of Backend: time 1.753e-06/0.2901, allocations: 0 / 462.5 MB, free: 11.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002523/0.2927, allocations: 1.324 MB / 463.8 MB, free: 10.38 MB / 382.1 MB Notification: Performance of SimCode: time 0.002287/0.295, allocations: 2.063 MB / 465.9 MB, free: 8.27 MB / 382.1 MB Notification: Performance of Templates: time 0.02391/0.3189, allocations: 15.8 MB / 481.7 MB, free: 8.496 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches