Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001362/0.001362, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001523/0.001523, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 258.3 MB, free: 8.039 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-beta.om/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=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 60.78 kB / 379.1 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3519, allocations: 53.36 MB / 432.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.0108/0.3627, allocations: 6.771 MB / 439.2 MB, free: 160 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00502/0.3678, allocations: 2.495 MB / 441.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008025/0.3686, allocations: 24 kB / 441.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004691/0.3733, allocations: 1.889 MB / 443.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002489/0.3757, allocations: 0.555 MB / 444.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003271/0.379, allocations: 1.335 MB / 445.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001986/0.381, allocations: 1.113 MB / 446.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001633/0.3826, allocations: 0.7187 MB / 447.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009819/0.3836, allocations: 0.4904 MB / 447.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.3847, allocations: 0.6186 MB / 448.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002554/0.3849, allocations: 100 kB / 448.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.3862, allocations: 451.7 kB / 449 MB, free: 6.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003262/0.3865, allocations: 243.1 kB / 449.2 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008475/0.3874, allocations: 0.5636 MB / 449.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00277/0.3902, allocations: 1.673 MB / 451.4 MB, free: 3.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3902, allocations: 0 / 451.4 MB, free: 3.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3902, allocations: 0 / 451.4 MB, free: 3.852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.862e-05/0.3902, allocations: 0 / 451.4 MB, free: 3.852 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.006738/0.397, allocations: 1.98 MB / 453.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.397, allocations: 8.031 kB / 453.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003568/0.4006, allocations: 495.7 kB / 453.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.4009, allocations: 260.8 kB / 454.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.4011, allocations: 94.95 kB / 454.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002438/0.4013, allocations: 132.3 kB / 454.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002784/0.4041, allocations: 1.303 MB / 455.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.997e-05/0.4041, allocations: 0 / 455.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.4042, allocations: 52 kB / 455.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.195e-05/0.4043, allocations: 32 kB / 455.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002778/0.4071, allocations: 1.189 MB / 457 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007332/0.4144, allocations: 4.028 MB / 461 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002216/0.4166, allocations: 1.157 MB / 462.2 MB, free: 8.883 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009544/0.4176, allocations: 456 kB / 462.6 MB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.4177, allocations: 48.94 kB / 462.6 MB, free: 8.391 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.4178, allocations: 43.56 kB / 462.7 MB, free: 8.336 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.226e-06/0.4178, allocations: 0 / 462.7 MB, free: 8.336 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01049/0.4282, allocations: 3.537 MB / 466.2 MB, free: 4.762 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.456e-05/0.4283, allocations: 90.11 kB / 466.3 MB, free: 4.656 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005165/0.4288, allocations: 401.5 kB / 466.7 MB, free: 4.258 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.952e-05/0.4289, allocations: 45.7 kB / 466.7 MB, free: 4.207 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003409/0.4293, allocations: 468.6 kB / 467.2 MB, free: 3.742 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003743/0.4296, allocations: 444.1 kB / 467.6 MB, free: 3.305 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003623/0.43, allocations: 235.5 kB / 467.9 MB, free: 3.066 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.4302, allocations: 370.8 kB / 468.2 MB, free: 2.695 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.4312, allocations: 431.8 kB / 468.7 MB, free: 2.273 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.4325, allocations: 0.6957 MB / 469.3 MB, free: 1.477 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002336/0.4348, allocations: 1.179 MB / 470.5 MB, free: 204 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.4349, allocations: 0 / 470.5 MB, free: 204 kB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003197/0.4381, allocations: 1.463 MB / 472 MB, free: 14.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.4381, allocations: 8 kB / 472 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.232e-05/0.4381, allocations: 8 kB / 472 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005948/0.4387, allocations: 193.6 kB / 472.2 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.4399, allocations: 295.5 kB / 472.5 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004732/0.4447, allocations: 4.163 MB / 476.6 MB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009012/0.4456, allocations: 79.95 kB / 476.7 MB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.4457, allocations: 55.98 kB / 476.8 MB, free: 9.703 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.0005386/0.4462, allocations: 268 kB / 477 MB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.4464, allocations: 71.58 kB / 477.1 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003158/0.4495, allocations: 1.331 MB / 478.4 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/0.4495, allocations: 15.98 kB / 478.5 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.4496, allocations: 7.938 kB / 478.5 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.4496, allocations: 11.97 kB / 478.5 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004826/0.4544, allocations: 2.566 MB / 481 MB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.4544, allocations: 3.938 kB / 481 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009815/0.4554, allocations: 207.8 kB / 481.3 MB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004395/0.4558, allocations: 165.7 kB / 481.4 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.611e-05/0.4559, allocations: 35.98 kB / 481.4 MB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004252/0.4601, allocations: 3.962 MB / 485.4 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.4601, allocations: 7.938 kB / 485.4 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003917/0.4641, allocations: 1.869 MB / 487.3 MB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004502/0.4645, allocations: 151.5 kB / 487.4 MB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.4646, allocations: 27.98 kB / 487.5 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006277/0.4652, allocations: 63.95 kB / 487.5 MB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/0.4655, allocations: 96.81 kB / 487.6 MB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.449e-05/0.4655, allocations: 31.98 kB / 487.6 MB, free: 14.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000341/0.4659, allocations: 275.2 kB / 487.9 MB, free: 14.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4659, allocations: 0 / 487.9 MB, free: 14.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001142/0.467, allocations: 307.9 kB / 488.2 MB, free: 13.89 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.0003319/0.4673, allocations: 179 kB / 488.4 MB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003012/0.4704, allocations: 1.391 MB / 489.8 MB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4704, allocations: 0 / 489.8 MB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001505/0.4719, allocations: 0.8114 MB / 490.6 MB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005322/0.4724, allocations: 73.61 kB / 490.7 MB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004017/0.4764, allocations: 1.894 MB / 492.6 MB, free: 9.438 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006952/0.4771, allocations: 1.001 MB / 493.6 MB, free: 8.406 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005754/0.4777, allocations: 146.6 kB / 493.7 MB, free: 8.258 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/0.478, allocations: 79.41 kB / 493.8 MB, free: 8.18 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.478, allocations: 4 kB / 493.8 MB, free: 8.176 MB / 398.1 MB Notification: Performance of Templates: time 0.02211/0.5001, allocations: 11.37 MB / 0.4933 GB, free: 12.86 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.256412743590772]