Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.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.001432/0.001432, allocations: 110.5 kB / 17.06 MB, free: 6.113 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.001682/0.001682, allocations: 191 kB / 18 MB, free: 5.191 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.332/1.332, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 43.94 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2749, allocations: 49.44 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.007757/0.2827, allocations: 6.704 MB / 407.4 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004525/0.2873, allocations: 2.39 MB / 409.8 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007737/0.2881, allocations: 24 kB / 409.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003978/0.292, allocations: 1.872 MB / 411.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002635/0.2947, allocations: 0.7105 MB / 412.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003517/0.2982, allocations: 1.173 MB / 413.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002324/0.3006, allocations: 1.125 MB / 414.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002399/0.303, allocations: 0.9362 MB / 415.7 MB, free: 9.867 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.3041, allocations: 494.1 kB / 416.2 MB, free: 9.383 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/0.3054, allocations: 0.6225 MB / 416.8 MB, free: 8.758 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003229/0.3058, allocations: 100 kB / 416.9 MB, free: 8.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001735/0.3075, allocations: 427.6 kB / 417.3 MB, free: 8.242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000276/0.3078, allocations: 243.1 kB / 417.5 MB, free: 8.004 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007964/0.3086, allocations: 0.5597 MB / 418.1 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002978/0.3116, allocations: 1.651 MB / 419.7 MB, free: 5.789 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.3116, allocations: 0 / 419.7 MB, free: 5.789 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.198e-06/0.3116, allocations: 4 kB / 419.7 MB, free: 5.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.3117, allocations: 0 / 419.7 MB, free: 5.785 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.009389/0.3211, allocations: 2.01 MB / 421.8 MB, free: 3.723 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.635e-05/0.3211, allocations: 8.031 kB / 421.8 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006763/0.3279, allocations: 0.5069 MB / 422.3 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005089/0.3284, allocations: 302.8 kB / 422.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.3286, allocations: 98.95 kB / 422.7 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003313/0.329, allocations: 136.3 kB / 422.8 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004395/0.3334, allocations: 1.3 MB / 424.1 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.233e-05/0.3334, allocations: 0 / 424.1 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001972/0.3337, allocations: 56 kB / 424.1 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.193e-05/0.3337, allocations: 28 kB / 424.2 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004781/0.3385, allocations: 1.197 MB / 425.4 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01117/0.3497, allocations: 4.182 MB / 429.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004443/0.3542, allocations: 2.444 MB / 432 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001685/0.3559, allocations: 0.5047 MB / 432.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002163/0.3562, allocations: 110.1 kB / 432.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.837e-05/0.3562, allocations: 51.5 kB / 432.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 5.811e-06/0.3563, allocations: 3.938 kB / 432.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.02067/0.3769, allocations: 3.791 MB / 436.5 MB, free: 4.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.377, allocations: 90.11 kB / 436.5 MB, free: 4.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004979/0.3775, allocations: 393.4 kB / 436.9 MB, free: 3.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.095e-05/0.3776, allocations: 49.7 kB / 437 MB, free: 3.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.3779, allocations: 454.9 kB / 437.4 MB, free: 3.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003396/0.3783, allocations: 429.8 kB / 437.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003475/0.3786, allocations: 227.4 kB / 438.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3788, allocations: 374.8 kB / 438.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.3799, allocations: 439.8 kB / 438.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/0.3811, allocations: 0.6996 MB / 439.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002433/0.3836, allocations: 1.183 MB / 440.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.3836, allocations: 0 / 440.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003213/0.3868, allocations: 1.474 MB / 442.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.3869, allocations: 8 kB / 442.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/0.3869, allocations: 7.984 kB / 442.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005697/0.3875, allocations: 201.6 kB / 442.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.3887, allocations: 291.6 kB / 442.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004435/0.3932, allocations: 4.363 MB / 447.1 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009619/0.3942, allocations: 79.91 kB / 447.2 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.3943, allocations: 55.98 kB / 447.2 MB, free: 9.02 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.0004478/0.3947, allocations: 265.5 kB / 447.5 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.3949, allocations: 67.25 kB / 447.5 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003114/0.398, allocations: 1.351 MB / 448.9 MB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.398, allocations: 12 kB / 448.9 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/0.398, allocations: 7.938 kB / 448.9 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.3981, allocations: 15.86 kB / 448.9 MB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004717/0.4028, allocations: 2.598 MB / 451.5 MB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.4028, allocations: 3.938 kB / 451.5 MB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.4038, allocations: 223.8 kB / 451.7 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004444/0.4043, allocations: 157.6 kB / 451.9 MB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.741e-05/0.4044, allocations: 36.11 kB / 451.9 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003811/0.4082, allocations: 4.184 MB / 456.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.4082, allocations: 3.938 kB / 456.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003959/0.4122, allocations: 1.88 MB / 458 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003366/0.4125, allocations: 228.2 kB / 458.2 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.4127, allocations: 24 kB / 458.2 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000728/0.4134, allocations: 63.94 kB / 458.3 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/0.4136, allocations: 88.81 kB / 458.4 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.536e-05/0.4137, allocations: 36.05 kB / 458.4 MB, free: 13.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002865/0.414, allocations: 275.2 kB / 458.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.414, allocations: 0 / 458.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001135/0.4151, allocations: 308.1 kB / 459 MB, free: 12.77 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.0003341/0.4154, allocations: 175.6 kB / 459.2 MB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00319/0.4186, allocations: 1.461 MB / 460.6 MB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.4187, allocations: 0 / 460.6 MB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001555/0.4202, allocations: 0.8623 MB / 461.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005325/0.4208, allocations: 77.81 kB / 461.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004055/0.4248, allocations: 1.924 MB / 463.5 MB, free: 8.176 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000626/0.4255, allocations: 1.005 MB / 464.5 MB, free: 7.145 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006164/0.4261, allocations: 154.6 kB / 464.6 MB, free: 6.988 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/0.4264, allocations: 75.53 kB / 464.7 MB, free: 6.914 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4264, allocations: 0 / 464.7 MB, free: 6.914 MB / 382.1 MB Notification: Performance of Templates: time 0.01953/0.4459, allocations: 10.4 MB / 475.1 MB, free: 12.56 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches