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.001107/0.001107, allocations: 121.6 kB / 17.79 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.001187/0.001187, allocations: 200.7 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 64.12 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2351, allocations: 50.55 MB / 409.3 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.007665/0.2428, allocations: 6.712 MB / 416 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004095/0.2469, allocations: 2.444 MB / 418.4 MB, free: 8.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003991/0.2473, allocations: 20 kB / 418.4 MB, free: 8.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003906/0.2513, allocations: 1.878 MB / 420.3 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.2526, allocations: 0.555 MB / 420.9 MB, free: 5.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002388/0.255, allocations: 1.311 MB / 422.2 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001288/0.2563, allocations: 1.117 MB / 423.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001422/0.2577, allocations: 0.9386 MB / 424.2 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008928/0.2586, allocations: 494.1 kB / 424.7 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000749/0.2594, allocations: 0.6147 MB / 425.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.2595, allocations: 100 kB / 425.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.2607, allocations: 443.6 kB / 425.9 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.2609, allocations: 251 kB / 426.1 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000501/0.2614, allocations: 0.5636 MB / 426.7 MB, free: 76 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001777/0.2632, allocations: 1.664 MB / 428.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2632, allocations: 0 / 428.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.2632, allocations: 0 / 428.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.2632, allocations: 3.938 kB / 428.3 MB, free: 14.4 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.005922/0.2691, allocations: 2.026 MB / 430.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.2692, allocations: 8.031 kB / 430.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003464/0.2727, allocations: 0.5031 MB / 430.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.273, allocations: 322.4 kB / 431.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.843e-05/0.2731, allocations: 98.95 kB / 431.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/0.2733, allocations: 124.4 kB / 431.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/0.2755, allocations: 1.296 MB / 432.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.672e-05/0.2755, allocations: 4 kB / 432.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.2756, allocations: 52 kB / 432.8 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.2757, allocations: 32 kB / 432.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002345/0.278, allocations: 1.193 MB / 434 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006206/0.2842, allocations: 4.273 MB / 438.3 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002447/0.2867, allocations: 2.448 MB / 440.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000891/0.2876, allocations: 0.5072 MB / 441.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001974/0.2878, allocations: 191.2 kB / 441.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.2878, allocations: 43.56 kB / 441.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 3.146e-06/0.2879, allocations: 0 / 441.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.009715/0.2976, allocations: 3.756 MB / 445.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.2977, allocations: 102 kB / 445.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004178/0.2981, allocations: 389.4 kB / 445.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.88e-05/0.2982, allocations: 45.7 kB / 445.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/0.2984, allocations: 454.9 kB / 446.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003321/0.2988, allocations: 425.8 kB / 446.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000335/0.2991, allocations: 223.4 kB / 446.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2992, allocations: 370.8 kB / 447.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009518/0.3002, allocations: 443.8 kB / 447.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.3014, allocations: 0.6918 MB / 448.3 MB, free: 9.504 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002153/0.3035, allocations: 1.175 MB / 449.5 MB, free: 8.234 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3036, allocations: 0 / 449.5 MB, free: 8.234 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.00289/0.3065, allocations: 1.474 MB / 450.9 MB, free: 6.746 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.3065, allocations: 8 kB / 450.9 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.3065, allocations: 8 kB / 450.9 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005362/0.307, allocations: 197.1 kB / 451.1 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.3082, allocations: 291.6 kB / 451.4 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004163/0.3124, allocations: 4.367 MB / 455.8 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008343/0.3133, allocations: 71.86 kB / 455.9 MB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.628e-05/0.3133, allocations: 59.92 kB / 455.9 MB, free: 1.48 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.0004054/0.3138, allocations: 273.5 kB / 456.2 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.3139, allocations: 67.16 kB / 456.3 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002894/0.3168, allocations: 1.343 MB / 457.6 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.3168, allocations: 12 kB / 457.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.3168, allocations: 11.94 kB / 457.6 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.3169, allocations: 3.984 kB / 457.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004388/0.3212, allocations: 2.598 MB / 460.2 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.3213, allocations: 3.938 kB / 460.2 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009327/0.3222, allocations: 211.8 kB / 460.4 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004295/0.3226, allocations: 173.5 kB / 460.6 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.445e-05/0.3227, allocations: 27.98 kB / 460.6 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003739/0.3265, allocations: 4.173 MB / 464.8 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3265, allocations: 8.344 kB / 464.8 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003629/0.3301, allocations: 1.864 MB / 466.7 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003189/0.3305, allocations: 228.2 kB / 466.9 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.665e-05/0.3305, allocations: 20 kB / 466.9 MB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006237/0.3312, allocations: 67.88 kB / 467 MB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/0.3314, allocations: 84.88 kB / 467.1 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.689e-05/0.3315, allocations: 44.05 kB / 467.1 MB, free: 5.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002762/0.3317, allocations: 267.2 kB / 467.4 MB, free: 5.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3317, allocations: 0 / 467.4 MB, free: 5.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00105/0.3328, allocations: 304.1 kB / 467.7 MB, free: 5.273 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.0002958/0.3331, allocations: 183 kB / 467.8 MB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002809/0.3359, allocations: 1.458 MB / 469.3 MB, free: 3.605 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3359, allocations: 0 / 469.3 MB, free: 3.605 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001436/0.3374, allocations: 0.8622 MB / 470.2 MB, free: 2.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005486/0.3379, allocations: 73.48 kB / 470.2 MB, free: 2.645 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/0.3417, allocations: 1.931 MB / 472.2 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005605/0.3423, allocations: 1.005 MB / 473.2 MB, free: 15.64 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005669/0.3429, allocations: 142.6 kB / 473.3 MB, free: 15.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/0.3431, allocations: 71.41 kB / 473.4 MB, free: 15.43 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3431, allocations: 0 / 473.4 MB, free: 15.43 MB / 398.1 MB Notification: Performance of Templates: time 0.01891/0.362, allocations: 10.4 MB / 483.8 MB, free: 5.074 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