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.0008445/0.0008445, allocations: 87.62 kB / 21.44 MB, free: 3.121 MB / 18.57 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.003624/0.003624, allocations: 160.7 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8544/0.8544, allocations: 177.1 MB / 205 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.403e-06/1.403e-06, allocations: 0 / 325.9 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.841e-05, allocations: 2.281 kB / 325.9 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004844/0.004863, allocations: 5.957 MB / 331.8 MB, free: 9.434 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002472/0.007335, allocations: 2.331 MB / 334.1 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.007566, allocations: 24 kB / 334.2 MB, free: 7.066 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001875/0.009441, allocations: 1.843 MB / 336 MB, free: 5.219 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007635/0.0102, allocations: 0.5509 MB / 336.6 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.01142, allocations: 1.26 MB / 337.8 MB, free: 3.406 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007546/0.01218, allocations: 1.155 MB / 339 MB, free: 2.246 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007851/0.01296, allocations: 0.8213 MB / 339.8 MB, free: 1.402 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000493/0.01346, allocations: 0.7015 MB / 340.5 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003498/0.01381, allocations: 486.6 kB / 341 MB, free: 224 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.19e-05/0.01389, allocations: 100 kB / 341.1 MB, free: 124 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004791/0.01437, allocations: 435.3 kB / 341.5 MB, free: 15.7 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.01448, allocations: 247 kB / 341.7 MB, free: 15.45 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002197/0.0147, allocations: 386.9 kB / 342.1 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.01584, allocations: 1.725 MB / 343.8 MB, free: 13.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.01585, allocations: 0 / 343.8 MB, free: 13.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.01585, allocations: 0 / 343.8 MB, free: 13.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.01586, allocations: 0 / 343.8 MB, free: 13.34 MB / 314.7 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.003032/0.01889, allocations: 1.964 MB / 345.8 MB, free: 11.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.01892, allocations: 12.03 kB / 345.8 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.02052, allocations: 499.7 kB / 346.3 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.0207, allocations: 256 kB / 346.6 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.537e-05/0.02076, allocations: 98.95 kB / 346.7 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.02088, allocations: 132.3 kB / 346.8 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.02227, allocations: 1.321 MB / 348.1 MB, free: 8.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.02229, allocations: 192 / 348.1 MB, free: 8.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.426e-05/0.02237, allocations: 56.38 kB / 348.2 MB, free: 8.926 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.02239, allocations: 31.94 kB / 348.2 MB, free: 8.895 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.02381, allocations: 1.185 MB / 349.4 MB, free: 7.703 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003552/0.02736, allocations: 3.328 MB / 352.7 MB, free: 4.258 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.02863, allocations: 1.154 MB / 353.9 MB, free: 3.125 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005468/0.02918, allocations: 447.7 kB / 354.3 MB, free: 2.688 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.475e-05/0.02927, allocations: 40.95 kB / 354.3 MB, free: 2.645 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.02931, allocations: 51.56 kB / 354.4 MB, free: 2.586 MB / 314.7 MB Notification: Performance of pre-optimization done (n=122): time 2.284e-06/0.02931, allocations: 0 / 354.4 MB, free: 2.586 MB / 314.7 MB Notification: Performance of matching and sorting (n=125): time 0.005359/0.03467, allocations: 3.545 MB / 357.9 MB, free: 15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.03472, allocations: 90.11 kB / 358 MB, free: 14.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.03498, allocations: 385.3 kB / 358.4 MB, free: 14.51 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.441e-05/0.03502, allocations: 53.64 kB / 358.4 MB, free: 14.45 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.03519, allocations: 464.5 kB / 358.9 MB, free: 13.99 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.03538, allocations: 448.2 kB / 359.3 MB, free: 13.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/0.03558, allocations: 227.5 kB / 359.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.03568, allocations: 374.8 kB / 359.9 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000561/0.03624, allocations: 427.8 kB / 360.3 MB, free: 12.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006895/0.03693, allocations: 0.7208 MB / 361.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.03823, allocations: 1.171 MB / 362.2 MB, free: 10.44 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.03824, allocations: 8 kB / 362.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.001668/0.0399, allocations: 1.455 MB / 363.7 MB, free: 8.961 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.03992, allocations: 12.12 kB / 363.7 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.03993, allocations: 12 kB / 363.7 MB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000322/0.04025, allocations: 197.6 kB / 363.9 MB, free: 8.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005829/0.04083, allocations: 287.5 kB / 364.2 MB, free: 8.457 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002527/0.04336, allocations: 4.056 MB / 368.2 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003599/0.04372, allocations: 80.06 kB / 368.3 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.054e-05/0.04377, allocations: 51.98 kB / 368.4 MB, free: 4.07 MB / 330.7 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.0002537/0.04403, allocations: 273.6 kB / 368.6 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.601e-05/0.0441, allocations: 75.47 kB / 368.7 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.04574, allocations: 1.331 MB / 370.1 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.04574, allocations: 12 kB / 370.1 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.04575, allocations: 4 kB / 370.1 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.04576, allocations: 3.984 kB / 370.1 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002477/0.04823, allocations: 2.189 MB / 372.3 MB, free: 108 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.04824, allocations: 0 / 372.3 MB, free: 108 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004508/0.04869, allocations: 211.9 kB / 372.5 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002375/0.04892, allocations: 177.5 kB / 372.6 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-05/0.04896, allocations: 27.98 kB / 372.7 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002292/0.05126, allocations: 3.873 MB / 376.5 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.05126, allocations: 3.984 kB / 376.5 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/0.05351, allocations: 1.872 MB / 378.4 MB, free: 9.711 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.0537, allocations: 147.5 kB / 378.6 MB, free: 9.566 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/0.05375, allocations: 23.98 kB / 378.6 MB, free: 9.543 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.05403, allocations: 55.95 kB / 378.6 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.05415, allocations: 100.8 kB / 378.7 MB, free: 9.387 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.751e-05/0.05419, allocations: 39.92 kB / 378.8 MB, free: 9.348 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001668/0.05436, allocations: 255.2 kB / 379 MB, free: 9.102 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05436, allocations: 0 / 379 MB, free: 9.102 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006715/0.05503, allocations: 312 kB / 379.3 MB, free: 8.797 MB / 346.7 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.0002425/0.05527, allocations: 175 kB / 379.5 MB, free: 8.617 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001858/0.05713, allocations: 1.387 MB / 380.9 MB, free: 7.207 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.05713, allocations: 4.062 kB / 380.9 MB, free: 7.203 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007802/0.05791, allocations: 0.8154 MB / 381.7 MB, free: 6.363 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.05826, allocations: 69.55 kB / 381.8 MB, free: 6.297 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.06054, allocations: 1.856 MB / 383.6 MB, free: 4.387 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.06078, allocations: 420.3 kB / 384 MB, free: 3.941 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.061, allocations: 96.45 kB / 384.1 MB, free: 3.848 MB / 346.7 MB Notification: Performance of SimCode: time 8.02e-07/0.061, allocations: 4 kB / 384.1 MB, free: 3.844 MB / 346.7 MB Notification: Performance of Templates: time 0.01437/0.07537, allocations: 20.57 MB / 404.7 MB, free: 15.26 MB / 378.7 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.982832881622016]