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.001622/0.001622, allocations: 112.5 kB / 18.45 MB, free: 4.605 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.00199/0.00199, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.519/1.519, allocations: 230.6 MB / 254.8 MB, free: 15.06 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.00155/0.00155, allocations: 47.92 kB / 374.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1156, allocations: 53.33 MB / 427.5 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.2198/0.3354, allocations: 6.748 MB / 434.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004213/0.3397, allocations: 2.468 MB / 436.7 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009505/0.3406, allocations: 26.69 kB / 436.7 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004221/0.3448, allocations: 1.891 MB / 438.6 MB, free: 6.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002254/0.3471, allocations: 0.5487 MB / 439.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002808/0.3499, allocations: 1.33 MB / 440.5 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001918/0.3518, allocations: 1.108 MB / 441.6 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.3531, allocations: 0.7218 MB / 442.3 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008/0.3539, allocations: 498 kB / 442.8 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007688/0.3547, allocations: 0.6287 MB / 443.5 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.3548, allocations: 99.59 kB / 443.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.3561, allocations: 440.7 kB / 444 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.3563, allocations: 248.5 kB / 444.2 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005706/0.3569, allocations: 0.5594 MB / 444.8 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002583/0.3595, allocations: 1.673 MB / 446.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3595, allocations: 0 / 446.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3595, allocations: 5.094 kB / 446.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.196e-05/0.3595, allocations: 3.938 kB / 446.5 MB, free: 2.219 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.006766/0.3663, allocations: 2.048 MB / 448.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.3663, allocations: 13.16 kB / 448.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003639/0.3699, allocations: 495 kB / 449 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.3703, allocations: 309.3 kB / 449.3 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.071e-05/0.3704, allocations: 103.6 kB / 449.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002589/0.3707, allocations: 128.4 kB / 449.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/0.3731, allocations: 1.302 MB / 450.8 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.025e-05/0.3732, allocations: 9.828 kB / 450.8 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.3733, allocations: 51.22 kB / 450.9 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.848e-05/0.3733, allocations: 30.47 kB / 450.9 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002705/0.376, allocations: 1.188 MB / 452.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007728/0.3837, allocations: 4.287 MB / 456.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00292/0.3867, allocations: 2.343 MB / 458.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009421/0.3876, allocations: 465.3 kB / 459.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002712/0.3879, allocations: 199.5 kB / 459.4 MB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.628e-05/0.3879, allocations: 44.94 kB / 459.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.577e-06/0.3879, allocations: 0 / 459.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01095/0.3989, allocations: 3.779 MB / 463.2 MB, free: 8.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/0.399, allocations: 90.3 kB / 463.3 MB, free: 8.137 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005275/0.3995, allocations: 392.1 kB / 463.7 MB, free: 7.887 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.27e-05/0.3996, allocations: 54.2 kB / 463.7 MB, free: 7.832 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000324/0.3999, allocations: 466.8 kB / 464.2 MB, free: 7.418 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003835/0.4003, allocations: 445.7 kB / 464.6 MB, free: 7.027 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003809/0.4006, allocations: 231.2 kB / 464.9 MB, free: 6.887 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.4008, allocations: 376.8 kB / 465.2 MB, free: 6.523 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.4019, allocations: 431.8 kB / 465.7 MB, free: 6.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/0.4032, allocations: 0.6892 MB / 466.3 MB, free: 5.797 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002396/0.4056, allocations: 1.18 MB / 467.5 MB, free: 5.023 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.4056, allocations: 1.25 kB / 467.5 MB, free: 5.023 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003278/0.4089, allocations: 1.47 MB / 469 MB, free: 4.277 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.4089, allocations: 8.469 kB / 469 MB, free: 4.277 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.4089, allocations: 6.969 kB / 469 MB, free: 4.277 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005753/0.4095, allocations: 194 kB / 469.2 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.4107, allocations: 294.5 kB / 469.5 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004697/0.4154, allocations: 4.368 MB / 473.9 MB, free: 156 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.4165, allocations: 74.86 kB / 473.9 MB, free: 116 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.4166, allocations: 57.27 kB / 474 MB, free: 100 kB / 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.0005412/0.4172, allocations: 270.9 kB / 474.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.4173, allocations: 67.98 kB / 474.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003164/0.4205, allocations: 1.331 MB / 475.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.4205, allocations: 12.44 kB / 475.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.4205, allocations: 7.625 kB / 475.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.4205, allocations: 5.359 kB / 475.7 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005014/0.4255, allocations: 2.601 MB / 478.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/0.4255, allocations: 7.938 kB / 478.3 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.4266, allocations: 211.8 kB / 478.5 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004885/0.427, allocations: 167.3 kB / 478.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.508e-05/0.4271, allocations: 27.98 kB / 478.7 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00432/0.4314, allocations: 4.182 MB / 482.9 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.4314, allocations: 8.922 kB / 482.9 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004131/0.4356, allocations: 1.869 MB / 484.7 MB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000455/0.436, allocations: 232.6 kB / 485 MB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.4361, allocations: 24 kB / 485 MB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000672/0.4368, allocations: 59.94 kB / 485 MB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002179/0.437, allocations: 88.81 kB / 485.1 MB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.249e-05/0.4371, allocations: 40.05 kB / 485.2 MB, free: 5.355 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003387/0.4374, allocations: 267.2 kB / 485.4 MB, free: 5.094 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4374, allocations: 4 kB / 485.4 MB, free: 5.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001301/0.4387, allocations: 304 kB / 485.7 MB, free: 4.793 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.0003616/0.4391, allocations: 177 kB / 485.9 MB, free: 4.613 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003119/0.4422, allocations: 1.399 MB / 487.3 MB, free: 3.191 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4422, allocations: 0 / 487.3 MB, free: 3.191 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00152/0.4437, allocations: 0.8077 MB / 488.1 MB, free: 2.359 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000588/0.4443, allocations: 66.33 kB / 488.2 MB, free: 2.293 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004116/0.4484, allocations: 1.931 MB / 490.1 MB, free: 324 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006845/0.4491, allocations: 1.005 MB / 491.1 MB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003939/0.4495, allocations: 95.39 kB / 491.2 MB, free: 15.19 MB / 398.1 MB Notification: Performance of SimCode: time 1.333e-06/0.4495, allocations: 192 / 491.2 MB, free: 15.19 MB / 398.1 MB Notification: Performance of Templates: time 0.02668/0.4762, allocations: 20.22 MB / 0.4994 GB, free: 10.96 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/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: 8.409975082991878]