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.001135/0.001135, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001252/0.001252, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 63.89 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2571, allocations: 50.54 MB / 409.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.00737/0.2645, allocations: 6.704 MB / 416 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00388/0.2684, allocations: 2.44 MB / 418.4 MB, free: 8.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000369/0.2688, allocations: 24 kB / 418.4 MB, free: 8.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003849/0.2727, allocations: 1.882 MB / 420.3 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.2739, allocations: 0.5394 MB / 420.8 MB, free: 5.941 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002372/0.2763, allocations: 1.317 MB / 422.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001192/0.2775, allocations: 1.121 MB / 423.3 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.2787, allocations: 0.9386 MB / 424.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005153/0.2792, allocations: 494.1 kB / 424.7 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006246/0.2798, allocations: 0.6147 MB / 425.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.28, allocations: 100 kB / 425.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008304/0.2808, allocations: 443.6 kB / 425.9 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.281, allocations: 251 kB / 426.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000422/0.2814, allocations: 0.5597 MB / 426.7 MB, free: 104 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.283, allocations: 1.664 MB / 428.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2831, allocations: 0 / 428.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2831, allocations: 4 kB / 428.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.2831, allocations: 3.938 kB / 428.3 MB, free: 14.43 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.006078/0.2892, allocations: 2.022 MB / 430.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.2892, allocations: 12.03 kB / 430.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003573/0.2928, allocations: 0.5031 MB / 430.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.2931, allocations: 318.4 kB / 431.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.676e-05/0.2932, allocations: 94.95 kB / 431.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/0.2933, allocations: 132.4 kB / 431.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/0.2956, allocations: 1.296 MB / 432.7 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.231e-05/0.2957, allocations: 4 kB / 432.7 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.2958, allocations: 48 kB / 432.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.2958, allocations: 32 kB / 432.8 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002389/0.2982, allocations: 1.197 MB / 434 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006034/0.3043, allocations: 4.269 MB / 438.2 MB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002428/0.3067, allocations: 2.448 MB / 440.7 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008879/0.3076, allocations: 0.5072 MB / 441.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001719/0.3078, allocations: 191.2 kB / 441.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.3078, allocations: 51.5 kB / 441.4 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 2.816e-06/0.3078, allocations: 0 / 441.4 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.009873/0.3177, allocations: 3.756 MB / 445.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.3178, allocations: 90.11 kB / 445.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003884/0.3182, allocations: 393.4 kB / 445.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.623e-05/0.3183, allocations: 45.7 kB / 445.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.3185, allocations: 450.9 kB / 446.1 MB, free: 11.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002665/0.3188, allocations: 425.8 kB / 446.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000308/0.3191, allocations: 223.4 kB / 446.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3192, allocations: 378.8 kB / 447.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000989/0.3202, allocations: 431.8 kB / 447.6 MB, free: 10.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.3214, allocations: 0.6957 MB / 448.3 MB, free: 9.535 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002223/0.3236, allocations: 1.183 MB / 449.5 MB, free: 8.258 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.3236, allocations: 4 kB / 449.5 MB, free: 8.254 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002867/0.3265, allocations: 1.462 MB / 450.9 MB, free: 6.777 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.3265, allocations: 11.12 kB / 450.9 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.3266, allocations: 8 kB / 450.9 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004924/0.3271, allocations: 201.1 kB / 451.1 MB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.3282, allocations: 287.6 kB / 451.4 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00394/0.3322, allocations: 4.371 MB / 455.8 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008352/0.333, allocations: 79.86 kB / 455.9 MB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.987e-05/0.3331, allocations: 47.98 kB / 455.9 MB, free: 1.512 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.0003932/0.3335, allocations: 277.5 kB / 456.2 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.3337, allocations: 67.16 kB / 456.2 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002832/0.3365, allocations: 1.343 MB / 457.6 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.3365, allocations: 15.94 kB / 457.6 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.3365, allocations: 7.938 kB / 457.6 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.3366, allocations: 3.984 kB / 457.6 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004199/0.3408, allocations: 2.594 MB / 460.2 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/0.3408, allocations: 8.062 kB / 460.2 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000933/0.3417, allocations: 215.7 kB / 460.4 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004271/0.3422, allocations: 165.5 kB / 460.6 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.556e-05/0.3422, allocations: 27.98 kB / 460.6 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003733/0.346, allocations: 4.185 MB / 464.8 MB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.346, allocations: 4.312 kB / 464.8 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003594/0.3496, allocations: 1.868 MB / 466.7 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003101/0.3499, allocations: 224.2 kB / 466.9 MB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.975e-05/0.35, allocations: 24 kB / 466.9 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006691/0.3507, allocations: 63.88 kB / 467 MB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.3509, allocations: 96.88 kB / 467.1 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.373e-05/0.351, allocations: 35.98 kB / 467.1 MB, free: 5.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002992/0.3513, allocations: 263.2 kB / 467.4 MB, free: 5.594 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3513, allocations: 0 / 467.4 MB, free: 5.594 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001144/0.3524, allocations: 312.1 kB / 467.7 MB, free: 5.289 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (106): * Single equations (assignments): 104 * 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.0003001/0.3527, allocations: 167.1 kB / 467.8 MB, free: 5.117 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002828/0.3556, allocations: 1.461 MB / 469.3 MB, free: 3.633 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3556, allocations: 0 / 469.3 MB, free: 3.633 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001427/0.357, allocations: 0.8628 MB / 470.2 MB, free: 2.746 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000512/0.3575, allocations: 72.78 kB / 470.2 MB, free: 2.676 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/0.3611, allocations: 1.936 MB / 472.2 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.3617, allocations: 1.005 MB / 473.2 MB, free: 15.67 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005613/0.3623, allocations: 142.6 kB / 473.3 MB, free: 15.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002343/0.3625, allocations: 71.42 kB / 473.4 MB, free: 15.45 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3625, allocations: 0 / 473.4 MB, free: 15.45 MB / 398.1 MB Notification: Performance of Templates: time 0.01955/0.3821, allocations: 10.39 MB / 483.8 MB, free: 5.105 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/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