Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001972/0.001972, allocations: 214.4 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.45/1.45, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002893/0.002893, allocations: 47.92 kB / 378.3 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3228, allocations: 53.36 MB / 431.6 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008936/0.3318, allocations: 6.774 MB / 438.4 MB, free: 132 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004688/0.3365, allocations: 2.495 MB / 440.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006704/0.3371, allocations: 20 kB / 440.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004426/0.3416, allocations: 1.89 MB / 442.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.3432, allocations: 0.555 MB / 443.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002806/0.346, allocations: 1.329 MB / 444.7 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001672/0.3477, allocations: 1.113 MB / 445.8 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/0.3491, allocations: 0.8328 MB / 446.7 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007199/0.3499, allocations: 498.2 kB / 447.1 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008648/0.3507, allocations: 0.6225 MB / 447.8 MB, free: 6.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001715/0.3509, allocations: 100 kB / 447.9 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009264/0.3518, allocations: 447.7 kB / 448.3 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002196/0.352, allocations: 243.1 kB / 448.5 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006519/0.3527, allocations: 0.5636 MB / 449.1 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002136/0.3548, allocations: 1.672 MB / 450.8 MB, free: 3.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3548, allocations: 0 / 450.8 MB, free: 3.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3548, allocations: 0 / 450.8 MB, free: 3.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.208e-05/0.3549, allocations: 4 kB / 450.8 MB, free: 3.719 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.006344/0.3612, allocations: 1.98 MB / 452.8 MB, free: 1.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3612, allocations: 12.03 kB / 452.8 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003685/0.3649, allocations: 495.7 kB / 453.2 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.3652, allocations: 256.8 kB / 453.5 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.3654, allocations: 94.95 kB / 453.6 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002157/0.3656, allocations: 128.3 kB / 453.7 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002495/0.3681, allocations: 1.307 MB / 455 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.136e-05/0.3681, allocations: 4 kB / 455 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.3682, allocations: 48 kB / 455.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.714e-05/0.3682, allocations: 35.94 kB / 455.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002613/0.3709, allocations: 1.189 MB / 456.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007392/0.3783, allocations: 4.036 MB / 460.3 MB, free: 9.875 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002238/0.3805, allocations: 1.148 MB / 461.5 MB, free: 8.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009545/0.3814, allocations: 456.6 kB / 461.9 MB, free: 8.305 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/0.3816, allocations: 44.94 kB / 462 MB, free: 8.262 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.482e-05/0.3816, allocations: 43.56 kB / 462 MB, free: 8.207 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.026e-06/0.3816, allocations: 4 kB / 462 MB, free: 8.203 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01052/0.3922, allocations: 3.537 MB / 465.6 MB, free: 4.629 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/0.3922, allocations: 90.11 kB / 465.6 MB, free: 4.523 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004915/0.3927, allocations: 397.5 kB / 466 MB, free: 4.129 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.025e-05/0.3928, allocations: 45.7 kB / 466.1 MB, free: 4.078 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.3931, allocations: 472.6 kB / 466.5 MB, free: 3.609 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003655/0.3935, allocations: 440.1 kB / 467 MB, free: 3.176 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003633/0.3939, allocations: 239.5 kB / 467.2 MB, free: 2.934 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.394, allocations: 370.8 kB / 467.6 MB, free: 2.562 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.3951, allocations: 435.8 kB / 468 MB, free: 2.137 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/0.3965, allocations: 0.6879 MB / 468.7 MB, free: 1.348 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00241/0.3989, allocations: 1.183 MB / 469.9 MB, free: 68 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.3989, allocations: 4 kB / 469.9 MB, free: 64 kB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003256/0.4021, allocations: 1.466 MB / 471.3 MB, free: 14.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.4022, allocations: 11.94 kB / 471.3 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.4022, allocations: 8.062 kB / 471.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005632/0.4027, allocations: 197.5 kB / 471.5 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.404, allocations: 283.6 kB / 471.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004802/0.4088, allocations: 4.166 MB / 476 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008671/0.4097, allocations: 79.83 kB / 476.1 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.4098, allocations: 60.05 kB / 476.1 MB, free: 9.559 MB / 382.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.0004344/0.4102, allocations: 261.5 kB / 476.4 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.4104, allocations: 75.52 kB / 476.5 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003222/0.4136, allocations: 1.327 MB / 477.8 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.4136, allocations: 16 kB / 477.8 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/0.4136, allocations: 11.94 kB / 477.8 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.4136, allocations: 7.969 kB / 477.8 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005008/0.4187, allocations: 2.554 MB / 480.4 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.4187, allocations: 16.05 kB / 480.4 MB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.4197, allocations: 203.8 kB / 480.6 MB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004521/0.4201, allocations: 173.5 kB / 480.8 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.271e-05/0.4202, allocations: 27.98 kB / 480.8 MB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004243/0.4245, allocations: 3.978 MB / 484.8 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.4245, allocations: 3.938 kB / 484.8 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003971/0.4284, allocations: 1.869 MB / 486.6 MB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003606/0.4288, allocations: 159.4 kB / 486.8 MB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.4289, allocations: 20.11 kB / 486.8 MB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006773/0.4296, allocations: 59.89 kB / 486.9 MB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.4298, allocations: 96.88 kB / 487 MB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.015e-05/0.4298, allocations: 39.98 kB / 487 MB, free: 14.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003112/0.4301, allocations: 267.2 kB / 487.3 MB, free: 14.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4301, allocations: 0 / 487.3 MB, free: 14.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001097/0.4312, allocations: 307.9 kB / 487.6 MB, free: 13.74 MB / 398.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.000305/0.4315, allocations: 183 kB / 487.7 MB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003004/0.4345, allocations: 1.383 MB / 489.1 MB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4345, allocations: 192 / 489.1 MB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00157/0.4361, allocations: 0.816 MB / 489.9 MB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005139/0.4366, allocations: 73.42 kB / 490 MB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004152/0.4408, allocations: 1.889 MB / 491.9 MB, free: 9.297 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006869/0.4415, allocations: 1.005 MB / 492.9 MB, free: 8.262 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005557/0.442, allocations: 142.6 kB / 493 MB, free: 8.117 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002626/0.4423, allocations: 83.39 kB / 493.1 MB, free: 8.035 MB / 398.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4423, allocations: 0 / 493.1 MB, free: 8.035 MB / 398.1 MB Notification: Performance of Templates: time 0.02247/0.4648, allocations: 11.37 MB / 0.4927 GB, free: 12.71 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.035658398875967]