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.001334/0.001334, allocations: 110.9 kB / 17.74 MB, free: 5.359 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.001416/0.001415, allocations: 180.5 kB / 18.66 MB, free: 4.449 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.364/1.364, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 51.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3045, allocations: 49.43 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008363/0.313, allocations: 6.707 MB / 408.1 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005332/0.3184, allocations: 2.394 MB / 410.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007911/0.3192, allocations: 24 kB / 410.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00424/0.3234, allocations: 1.869 MB / 412.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002268/0.3257, allocations: 0.7014 MB / 413.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002927/0.3287, allocations: 1.181 MB / 414.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001934/0.3306, allocations: 1.125 MB / 415.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002044/0.3327, allocations: 0.9425 MB / 416.4 MB, free: 9.875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.3338, allocations: 486.2 kB / 416.8 MB, free: 9.398 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/0.335, allocations: 0.6186 MB / 417.5 MB, free: 8.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003182/0.3353, allocations: 100 kB / 417.6 MB, free: 8.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.3368, allocations: 431.6 kB / 418 MB, free: 8.258 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.337, allocations: 247 kB / 418.2 MB, free: 8.016 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006613/0.3377, allocations: 0.5636 MB / 418.8 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002151/0.3399, allocations: 1.644 MB / 420.4 MB, free: 5.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.3399, allocations: 0 / 420.4 MB, free: 5.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.3399, allocations: 3.938 kB / 420.4 MB, free: 5.797 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.958e-05/0.3399, allocations: 3.938 kB / 420.4 MB, free: 5.793 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.006565/0.3465, allocations: 2.006 MB / 422.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/0.3466, allocations: 8.031 kB / 422.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003528/0.3501, allocations: 0.5108 MB / 423 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00048/0.3506, allocations: 310.8 kB / 423.3 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.3507, allocations: 94.95 kB / 423.4 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002691/0.351, allocations: 132.3 kB / 423.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002451/0.3535, allocations: 1.296 MB / 424.8 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.933e-05/0.3535, allocations: 7.938 kB / 424.8 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.3536, allocations: 56 kB / 424.8 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-05/0.3537, allocations: 32 kB / 424.9 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00238/0.3561, allocations: 1.193 MB / 426.1 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006272/0.3624, allocations: 4.174 MB / 430.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/0.3648, allocations: 2.444 MB / 432.7 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009345/0.3658, allocations: 0.5164 MB / 433.2 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/0.3659, allocations: 106.1 kB / 433.3 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.366, allocations: 43.56 kB / 433.3 MB, free: 8.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 3.256e-06/0.366, allocations: 4 kB / 433.3 MB, free: 8.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.01086/0.3768, allocations: 3.784 MB / 437.1 MB, free: 4.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.377, allocations: 98.05 kB / 437.2 MB, free: 4.227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004517/0.3774, allocations: 389.4 kB / 437.6 MB, free: 3.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.267e-05/0.3775, allocations: 45.7 kB / 437.7 MB, free: 3.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.3778, allocations: 454.9 kB / 438.1 MB, free: 3.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003103/0.3781, allocations: 425.8 kB / 438.5 MB, free: 2.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003294/0.3784, allocations: 231.4 kB / 438.7 MB, free: 2.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3786, allocations: 370.8 kB / 439.1 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.3796, allocations: 443.8 kB / 439.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.3808, allocations: 0.7035 MB / 440.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002241/0.383, allocations: 1.179 MB / 441.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.383, allocations: 0 / 441.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003028/0.3861, allocations: 1.478 MB / 442.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.3861, allocations: 8 kB / 442.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.3861, allocations: 8 kB / 442.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005448/0.3867, allocations: 201.5 kB / 443.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.3879, allocations: 295.6 kB / 443.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004323/0.3922, allocations: 4.367 MB / 447.8 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.3933, allocations: 79.84 kB / 447.8 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.633e-05/0.3934, allocations: 55.98 kB / 447.9 MB, free: 9.031 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.0004876/0.3939, allocations: 265.6 kB / 448.2 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.3941, allocations: 67.25 kB / 448.2 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002884/0.3969, allocations: 1.355 MB / 449.6 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.397, allocations: 12 kB / 449.6 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.397, allocations: 7.938 kB / 449.6 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/0.397, allocations: 11.97 kB / 449.6 MB, free: 7.297 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004497/0.4015, allocations: 2.602 MB / 452.2 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.4016, allocations: 3.938 kB / 452.2 MB, free: 4.586 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009748/0.4025, allocations: 219.8 kB / 452.4 MB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000447/0.403, allocations: 165.6 kB / 452.6 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-05/0.4031, allocations: 27.98 kB / 452.6 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003778/0.4069, allocations: 4.18 MB / 456.8 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.4069, allocations: 4.312 kB / 456.8 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003779/0.4107, allocations: 1.88 MB / 458.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003986/0.4111, allocations: 232.2 kB / 458.9 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.365e-05/0.4112, allocations: 23.98 kB / 458.9 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006752/0.4119, allocations: 63.89 kB / 459 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002102/0.4121, allocations: 92.94 kB / 459.1 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.407e-05/0.4122, allocations: 35.98 kB / 459.1 MB, free: 13.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003245/0.4125, allocations: 271.2 kB / 459.4 MB, free: 13.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4125, allocations: 0 / 459.4 MB, free: 13.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001198/0.4137, allocations: 304.1 kB / 459.7 MB, free: 12.78 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.0003126/0.414, allocations: 183.5 kB / 459.9 MB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003032/0.4171, allocations: 1.461 MB / 461.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.4171, allocations: 0 / 461.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001536/0.4186, allocations: 0.8666 MB / 462.2 MB, free: 10.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006259/0.4193, allocations: 65.56 kB / 462.3 MB, free: 10.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004106/0.4234, allocations: 1.969 MB / 464.2 MB, free: 8.137 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006236/0.4241, allocations: 1.001 MB / 465.2 MB, free: 7.109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004118/0.4245, allocations: 95.39 kB / 465.3 MB, free: 7.016 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4245, allocations: 0 / 465.3 MB, free: 7.016 MB / 382.1 MB Notification: Performance of Templates: time 0.02441/0.4489, allocations: 19.62 MB / 484.9 MB, free: 3.387 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/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