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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 106.2 kB / 17.06 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 191 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001015, allocations: 47.92 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2569, allocations: 49.43 MB / 400.7 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004811/0.2618, allocations: 3.5 MB / 404.2 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.2635, allocations: 0.923 MB / 405.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004132/0.264, allocations: 8 kB / 405.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003129/0.2643, allocations: 95.08 kB / 405.2 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004716/0.2648, allocations: 158.7 kB / 405.4 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.2652, allocations: 171.7 kB / 405.6 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005202/0.2657, allocations: 0.6309 MB / 406.2 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003045/0.266, allocations: 197.4 kB / 406.4 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002961/0.2663, allocations: 243 kB / 406.6 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002649/0.2666, allocations: 270.7 kB / 406.9 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.672e-05/0.2667, allocations: 55.94 kB / 407 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.907e-05/0.2668, allocations: 52 kB / 407 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.409e-05/0.2669, allocations: 127.5 kB / 407.1 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002181/0.2671, allocations: 278.5 kB / 407.4 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005333/0.2676, allocations: 0.6317 MB / 408 MB, free: 1.684 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2676, allocations: 0 / 408 MB, free: 1.684 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2677, allocations: 0 / 408 MB, free: 1.684 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.2677, allocations: 4 kB / 408 MB, free: 1.68 MB / 318.1 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.001376/0.269, allocations: 0.842 MB / 408.9 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.2691, allocations: 8.031 kB / 408.9 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.312e-05/0.2692, allocations: 64.19 kB / 408.9 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004622/0.2697, allocations: 355 kB / 409.3 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/0.2697, allocations: 37.69 kB / 409.3 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.836e-05/0.2698, allocations: 48.38 kB / 409.4 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008191/0.2706, allocations: 438.4 kB / 409.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.2706, allocations: 3.984 kB / 409.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.982e-05/0.2707, allocations: 20 kB / 409.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.2707, allocations: 12 kB / 409.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008421/0.2715, allocations: 393 kB / 410.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002299/0.2738, allocations: 1.573 MB / 411.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000694/0.2746, allocations: 402.1 kB / 412.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000401/0.275, allocations: 181.4 kB / 412.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.275, allocations: 12.39 kB / 412.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.275, allocations: 34.89 kB / 412.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.623e-06/0.2751, allocations: 0 / 412.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=55): time 0.003202/0.2783, allocations: 1.191 MB / 413.6 MB, free: 11.85 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.2783, allocations: 55.97 kB / 413.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/0.2787, allocations: 397.5 kB / 414 MB, free: 11.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.2788, allocations: 33.7 kB / 414.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.2789, allocations: 303.8 kB / 414.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.2791, allocations: 185.3 kB / 414.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.2792, allocations: 114.2 kB / 414.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2794, allocations: 358.8 kB / 415 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000419/0.2798, allocations: 177.2 kB / 415.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004953/0.2803, allocations: 303 kB / 415.5 MB, free: 9.867 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008945/0.2812, allocations: 494.5 kB / 416 MB, free: 9.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2812, allocations: 0 / 416 MB, free: 9.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001421/0.2826, allocations: 0.7458 MB / 416.7 MB, free: 8.578 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.2827, allocations: 7.984 kB / 416.7 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.2827, allocations: 7.938 kB / 416.7 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005034/0.2832, allocations: 183.9 kB / 416.9 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004739/0.2837, allocations: 111.9 kB / 417 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003834/0.2875, allocations: 4.268 MB / 421.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003863/0.2879, allocations: 40.03 kB / 421.3 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.288, allocations: 20 kB / 421.3 MB, free: 3.668 MB / 334.1 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 () * Number of clocked 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 (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.0002014/0.2882, allocations: 178.2 kB / 421.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.572e-05/0.2882, allocations: 47.72 kB / 421.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.2884, allocations: 64.95 kB / 421.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.2884, allocations: 8 kB / 421.6 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/0.2884, allocations: 7.938 kB / 421.6 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.2884, allocations: 4 kB / 421.7 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/0.2906, allocations: 1.3 MB / 423 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.2906, allocations: 4 kB / 423 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/0.2909, allocations: 72.02 kB / 423 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003883/0.2913, allocations: 169.5 kB / 423.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.2913, allocations: 11.94 kB / 423.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003501/0.2948, allocations: 4.095 MB / 427.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2949, allocations: 0 / 427.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.2961, allocations: 0.7052 MB / 428 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-05/0.2962, allocations: 124.5 kB / 428.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.537e-05/0.2962, allocations: 12 kB / 428.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002944/0.2965, allocations: 19.98 kB / 428.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.2966, allocations: 48.36 kB / 428.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.2967, allocations: 16 kB / 428.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002837/0.297, allocations: 275.2 kB / 428.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.297, allocations: 0 / 428.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006494/0.2976, allocations: 152.1 kB / 428.6 MB, free: 11.96 MB / 350.1 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 () * Number of clocked 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 (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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001471/0.2978, allocations: 120.4 kB / 428.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00147/0.2992, allocations: 0.7845 MB / 429.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.2993, allocations: 0 / 429.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008316/0.3001, allocations: 0.5241 MB / 430.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.3005, allocations: 49.61 kB / 430.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.3022, allocations: 0.9398 MB / 431 MB, free: 9.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.3026, allocations: 0.8514 MB / 431.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000167/0.3028, allocations: 48.36 kB / 431.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.078e-05/0.3029, allocations: 31.44 kB / 432 MB, free: 8.488 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.3029, allocations: 0 / 432 MB, free: 8.488 MB / 350.1 MB Notification: Performance of Templates: time 0.01107/0.314, allocations: 5.156 MB / 437.1 MB, free: 3.332 MB / 350.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches