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.001373/0.001373, allocations: 82.5 kB / 20.68 MB, free: 1.039 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.001508/0.001508, allocations: 167.5 kB / 23.95 MB, free: 4.172 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.438/1.438, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.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 1.413e-06/1.413e-06, allocations: 0 / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.701e-05, allocations: 9.453 kB / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008117/0.008144, allocations: 5.953 MB / 331 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00509/0.01323, allocations: 2.327 MB / 333.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000657/0.01389, allocations: 26.28 kB / 333.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004665/0.01856, allocations: 1.841 MB / 335.2 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002146/0.0207, allocations: 0.5575 MB / 335.8 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002957/0.02366, allocations: 1.252 MB / 337 MB, free: 8.164 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001822/0.02548, allocations: 1.16 MB / 338.2 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.02682, allocations: 0.8186 MB / 339 MB, free: 6.875 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009953/0.02782, allocations: 0.7073 MB / 339.7 MB, free: 6.434 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000681/0.0285, allocations: 481.6 kB / 340.2 MB, free: 6.004 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.02866, allocations: 100 kB / 340.3 MB, free: 5.906 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.0297, allocations: 431.3 kB / 340.7 MB, free: 5.484 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002296/0.02993, allocations: 251 kB / 341 MB, free: 5.238 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004532/0.03038, allocations: 386.9 kB / 341.3 MB, free: 4.859 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002182/0.03256, allocations: 1.717 MB / 343.1 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.03257, allocations: 0 / 343.1 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.03257, allocations: 0 / 343.1 MB, free: 3.133 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.863e-05/0.03259, allocations: 4 kB / 343.1 MB, free: 3.129 MB / 302.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.006746/0.03933, allocations: 1.968 MB / 345 MB, free: 1.125 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.03938, allocations: 12.03 kB / 345 MB, free: 1.113 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003757/0.04314, allocations: 491.8 kB / 345.5 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.04348, allocations: 268 kB / 345.8 MB, free: 352 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.04358, allocations: 94.95 kB / 345.9 MB, free: 256 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/0.04381, allocations: 132.3 kB / 346 MB, free: 124 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002601/0.04641, allocations: 1.317 MB / 347.3 MB, free: 14.76 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.737e-05/0.04645, allocations: 4.172 kB / 347.3 MB, free: 14.76 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.04657, allocations: 52.38 kB / 347.4 MB, free: 14.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.499e-05/0.0466, allocations: 31.94 kB / 347.4 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002665/0.04927, allocations: 1.185 MB / 348.6 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006558/0.05583, allocations: 3.336 MB / 351.9 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00221/0.05804, allocations: 1.146 MB / 353.1 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009899/0.05903, allocations: 456 kB / 353.5 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000137/0.05916, allocations: 36.97 kB / 353.6 MB, free: 8.426 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/0.05921, allocations: 47.55 kB / 353.6 MB, free: 8.371 MB / 318.1 MB Notification: Performance of pre-optimization done (n=122): time 3.416e-06/0.05921, allocations: 0 / 353.6 MB, free: 8.371 MB / 318.1 MB Notification: Performance of matching and sorting (n=125): time 0.01106/0.07027, allocations: 3.541 MB / 357.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.858e-05/0.07034, allocations: 94.09 kB / 357.2 MB, free: 4.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004506/0.07079, allocations: 385.3 kB / 357.6 MB, free: 4.293 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.656e-05/0.07087, allocations: 49.7 kB / 357.7 MB, free: 4.238 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/0.07119, allocations: 472.5 kB / 358.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003463/0.07154, allocations: 440.2 kB / 358.6 MB, free: 3.336 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003597/0.0719, allocations: 231.5 kB / 358.8 MB, free: 3.105 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.07209, allocations: 374.7 kB / 359.2 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.07317, allocations: 439.8 kB / 359.6 MB, free: 2.301 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/0.07449, allocations: 0.7131 MB / 360.3 MB, free: 1.484 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00246/0.07695, allocations: 1.175 MB / 361.5 MB, free: 220 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.07696, allocations: 4 kB / 361.5 MB, free: 216 kB / 318.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003262/0.08022, allocations: 1.459 MB / 362.9 MB, free: 14.74 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.08025, allocations: 8 kB / 362.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.08026, allocations: 8 kB / 362.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005838/0.08084, allocations: 201.2 kB / 363.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.08214, allocations: 287.5 kB / 363.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00451/0.08665, allocations: 4.079 MB / 367.5 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009199/0.08757, allocations: 67.95 kB / 367.6 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.08767, allocations: 55.98 kB / 367.6 MB, free: 9.84 MB / 334.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.0005262/0.0882, allocations: 277.5 kB / 367.9 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.08835, allocations: 71.53 kB / 368 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003199/0.09155, allocations: 1.315 MB / 369.3 MB, free: 8.152 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.09157, allocations: 12 kB / 369.3 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.09158, allocations: 4 kB / 369.3 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.09159, allocations: 7.969 kB / 369.3 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00461/0.0962, allocations: 2.193 MB / 371.5 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.09621, allocations: 4.125 kB / 371.5 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.09725, allocations: 211.7 kB / 371.7 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004633/0.09771, allocations: 165.5 kB / 371.9 MB, free: 5.504 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-05/0.09778, allocations: 27.98 kB / 371.9 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004088/0.1019, allocations: 3.881 MB / 375.8 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.1019, allocations: 3.984 kB / 375.8 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004108/0.106, allocations: 1.872 MB / 377.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003448/0.1063, allocations: 151.5 kB / 377.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.1064, allocations: 20 kB / 377.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006857/0.1071, allocations: 55.95 kB / 377.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/0.1073, allocations: 96.81 kB / 378 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.335e-05/0.1074, allocations: 39.92 kB / 378 MB, free: 15.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002905/0.1077, allocations: 259.2 kB / 378.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1077, allocations: 0 / 378.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001123/0.1088, allocations: 307.9 kB / 378.6 MB, free: 14.58 MB / 350.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.0003419/0.1092, allocations: 179 kB / 378.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003117/0.1123, allocations: 1.387 MB / 380.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1123, allocations: 0 / 380.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001629/0.1139, allocations: 0.8192 MB / 380.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005334/0.1144, allocations: 65.44 kB / 381 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004113/0.1185, allocations: 1.831 MB / 382.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.119, allocations: 416.3 kB / 383.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005433/0.1195, allocations: 142.7 kB / 383.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/0.1198, allocations: 76.47 kB / 383.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1198, allocations: 0 / 383.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of Templates: time 0.02028/0.1401, allocations: 10.24 MB / 393.7 MB, free: 15.43 MB / 366.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: 4.698139376938343]