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/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.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/ModelicaServices trunk/package.mo): time 0.00108/0.00108, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00113/0.00113, allocations: 203.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2622, allocations: 50.55 MB / 409.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004415/0.2666, allocations: 3.522 MB / 412.8 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.2684, allocations: 0.962 MB / 413.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.2686, allocations: 4 kB / 413.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.2689, allocations: 95.09 kB / 413.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.2692, allocations: 158.7 kB / 414 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.2696, allocations: 179.7 kB / 414.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005437/0.2702, allocations: 0.6426 MB / 414.8 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002726/0.2704, allocations: 189.5 kB / 415 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002468/0.2707, allocations: 235 kB / 415.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.271, allocations: 274.7 kB / 415.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.407e-05/0.2711, allocations: 52 kB / 415.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.102e-05/0.2711, allocations: 52 kB / 415.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.217e-05/0.2712, allocations: 131.5 kB / 415.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002402/0.2715, allocations: 282.4 kB / 416 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006087/0.2721, allocations: 0.6377 MB / 416.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2721, allocations: 0 / 416.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2721, allocations: 0 / 416.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.2721, allocations: 3.984 kB / 416.6 MB, free: 10.13 MB / 334.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.001422/0.2736, allocations: 0.8725 MB / 417.5 MB, free: 9.207 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.2736, allocations: 8.031 kB / 417.5 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.2737, allocations: 72.45 kB / 417.6 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000487/0.2742, allocations: 355.9 kB / 417.9 MB, free: 8.746 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.831e-05/0.2743, allocations: 37.69 kB / 418 MB, free: 8.707 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.129e-05/0.2743, allocations: 52.38 kB / 418 MB, free: 8.656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008043/0.2752, allocations: 446.3 kB / 418.5 MB, free: 8.215 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.2752, allocations: 0 / 418.5 MB, free: 8.215 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.841e-05/0.2752, allocations: 20 kB / 418.5 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.2752, allocations: 12 kB / 418.5 MB, free: 8.184 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008347/0.2761, allocations: 393 kB / 418.9 MB, free: 7.801 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.2785, allocations: 1.574 MB / 420.4 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007067/0.2792, allocations: 409.4 kB / 420.8 MB, free: 5.684 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003861/0.2796, allocations: 177.4 kB / 421 MB, free: 5.508 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.785e-05/0.2796, allocations: 8.391 kB / 421 MB, free: 5.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.2797, allocations: 42.83 kB / 421.1 MB, free: 5.449 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.843e-06/0.2797, allocations: 0 / 421.1 MB, free: 5.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=55): time 0.003136/0.2828, allocations: 1.208 MB / 422.3 MB, free: 4.227 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.2829, allocations: 59.91 kB / 422.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004281/0.2833, allocations: 405.6 kB / 422.7 MB, free: 3.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.2833, allocations: 33.7 kB / 422.8 MB, free: 3.711 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.2835, allocations: 308.7 kB / 423.1 MB, free: 3.402 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.2837, allocations: 206.2 kB / 423.3 MB, free: 3.199 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.2838, allocations: 114.2 kB / 423.4 MB, free: 3.078 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.284, allocations: 358.8 kB / 423.7 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004127/0.2844, allocations: 173.2 kB / 423.9 MB, free: 2.551 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004895/0.2849, allocations: 303 kB / 424.2 MB, free: 2.211 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008754/0.2858, allocations: 498.5 kB / 424.7 MB, free: 1.684 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2858, allocations: 0 / 424.7 MB, free: 1.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00142/0.2872, allocations: 0.754 MB / 425.4 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.2872, allocations: 4 kB / 425.4 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2873, allocations: 4 kB / 425.4 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005254/0.2878, allocations: 185.1 kB / 425.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004721/0.2883, allocations: 111.8 kB / 425.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00396/0.2922, allocations: 4.274 MB / 430 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003969/0.2927, allocations: 40 kB / 430 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.2927, allocations: 20 kB / 430.1 MB, free: 12.01 MB / 350.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.0002121/0.2929, allocations: 177.7 kB / 430.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.533e-05/0.293, allocations: 55.66 kB / 430.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.2931, allocations: 69 kB / 430.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2932, allocations: 4 kB / 430.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.979e-05/0.2932, allocations: 4 kB / 430.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.2932, allocations: 7.984 kB / 430.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/0.2954, allocations: 1.296 MB / 431.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.2954, allocations: 0 / 431.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.2957, allocations: 79.95 kB / 431.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003949/0.2961, allocations: 165.5 kB / 431.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.2961, allocations: 12 kB / 431.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003476/0.2996, allocations: 4.088 MB / 436 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2996, allocations: 4.062 kB / 436 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.3009, allocations: 0.7017 MB / 436.7 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.3011, allocations: 132.6 kB / 436.8 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.96e-05/0.3012, allocations: 15.98 kB / 436.9 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002886/0.3014, allocations: 24.27 kB / 436.9 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.3016, allocations: 40.38 kB / 436.9 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.3016, allocations: 16 kB / 436.9 MB, free: 4.715 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003037/0.3019, allocations: 287.1 kB / 437.2 MB, free: 4.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.893e-06/0.3019, allocations: 0 / 437.2 MB, free: 4.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007164/0.3026, allocations: 155.9 kB / 437.4 MB, free: 4.289 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.000147/0.3028, allocations: 120.3 kB / 437.5 MB, free: 4.164 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.3042, allocations: 0.7884 MB / 438.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3043, allocations: 0 / 438.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007329/0.305, allocations: 0.5202 MB / 438.8 MB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.3054, allocations: 57.41 kB / 438.9 MB, free: 2.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.307, allocations: 0.9698 MB / 439.8 MB, free: 1.727 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.3074, allocations: 0.8553 MB / 440.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001709/0.3076, allocations: 52.36 kB / 440.7 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.502e-05/0.3077, allocations: 31.42 kB / 440.8 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3077, allocations: 0 / 440.8 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of Templates: time 0.009266/0.317, allocations: 5.146 MB / 445.9 MB, free: 11.62 MB / 366.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches