Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.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.001864/0.001864, allocations: 84.95 kB / 20.68 MB, free: 1.035 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.002223/0.002223, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 177 MB / 204.1 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.048e-06/4.048e-06, allocations: 0.7969 kB / 325 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.134e-05/3.539e-05, allocations: 3.531 kB / 325 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005687/0.005723, allocations: 3.235 MB / 328.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.007682, allocations: 0.9367 MB / 329.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002063/0.007888, allocations: 7.812 kB / 329.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.008188, allocations: 94.02 kB / 329.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005461/0.008734, allocations: 178.4 kB / 329.5 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004755/0.00921, allocations: 177.5 kB / 329.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008188/0.01003, allocations: 0.6554 MB / 330.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002904/0.01032, allocations: 127.4 kB / 330.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005082/0.01083, allocations: 364.9 kB / 330.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003049/0.01113, allocations: 202.6 kB / 331 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.134e-05/0.01121, allocations: 51.19 kB / 331 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.535e-05/0.01131, allocations: 52.53 kB / 331.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.01143, allocations: 122.2 kB / 331.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002189/0.01165, allocations: 197.8 kB / 331.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007264/0.01238, allocations: 0.6425 MB / 332 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.01238, allocations: 1.125 kB / 332 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.01238, allocations: 4 kB / 332 MB, free: 12.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.01239, allocations: 3.938 kB / 332 MB, free: 12.03 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001554/0.01394, allocations: 0.789 MB / 332.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.01399, allocations: 13.48 kB / 332.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.0141, allocations: 66.98 kB / 332.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005035/0.0146, allocations: 294.9 kB / 333.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.44e-05/0.01465, allocations: 38.47 kB / 333.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.586e-05/0.01472, allocations: 48.88 kB / 333.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008615/0.01558, allocations: 437.2 kB / 333.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.0156, allocations: 4.125 kB / 333.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.767e-05/0.01565, allocations: 28.41 kB / 333.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.01567, allocations: 12.34 kB / 333.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009233/0.01659, allocations: 389 kB / 334.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002511/0.0191, allocations: 1.258 MB / 335.4 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007805/0.01988, allocations: 305.8 kB / 335.7 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000462/0.02034, allocations: 166.7 kB / 335.8 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.02038, allocations: 5.203 kB / 335.8 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.02041, allocations: 37.7 kB / 335.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.654e-06/0.02041, allocations: 0 / 335.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of matching and sorting (n=55): time 0.003618/0.02403, allocations: 1.196 MB / 337.1 MB, free: 8.719 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.02408, allocations: 57.25 kB / 337.1 MB, free: 8.656 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005016/0.02458, allocations: 406 kB / 337.5 MB, free: 8.391 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.02462, allocations: 33.7 kB / 337.6 MB, free: 8.352 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/0.02486, allocations: 316.5 kB / 337.9 MB, free: 8.039 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.02502, allocations: 190.3 kB / 338.1 MB, free: 7.852 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.0252, allocations: 122.2 kB / 338.2 MB, free: 7.727 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.02539, allocations: 350.8 kB / 338.5 MB, free: 7.375 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004813/0.02587, allocations: 185.2 kB / 338.7 MB, free: 7.191 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005865/0.02646, allocations: 303.2 kB / 339 MB, free: 6.852 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.0275, allocations: 0.4884 MB / 339.5 MB, free: 6.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.0275, allocations: 0 / 339.5 MB, free: 6.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001612/0.02911, allocations: 0.7366 MB / 340.2 MB, free: 5.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.02914, allocations: 8 kB / 340.2 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.02915, allocations: 4 kB / 340.2 MB, free: 5.559 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005973/0.02975, allocations: 180.6 kB / 340.4 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005332/0.03028, allocations: 115.8 kB / 340.5 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004731/0.03501, allocations: 3.971 MB / 344.5 MB, free: 1.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004828/0.03549, allocations: 31.98 kB / 344.5 MB, free: 1.062 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/0.03553, allocations: 20 kB / 344.5 MB, free: 1.043 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 56 * 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.0003115/0.03585, allocations: 189.6 kB / 344.7 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.76e-05/0.03593, allocations: 51.73 kB / 344.8 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.03606, allocations: 61.03 kB / 344.8 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.03606, allocations: 4 kB / 344.8 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.059e-05/0.03608, allocations: 4 kB / 344.9 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.03609, allocations: 3.984 kB / 344.9 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/0.03847, allocations: 1.137 MB / 346 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.03848, allocations: 4 kB / 346 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003261/0.03881, allocations: 68.08 kB / 346.1 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004524/0.03926, allocations: 169.5 kB / 346.2 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.03929, allocations: 12 kB / 346.2 MB, free: 15.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004012/0.0433, allocations: 3.804 MB / 350 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.04331, allocations: 12.3 kB / 350.1 MB, free: 11.26 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.0447, allocations: 0.6888 MB / 350.7 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.5e-05/0.04479, allocations: 47.77 kB / 350.8 MB, free: 10.49 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.709e-05/0.04485, allocations: 15.94 kB / 350.8 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003122/0.04516, allocations: 27.92 kB / 350.8 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.04527, allocations: 44.41 kB / 350.9 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.0453, allocations: 16 kB / 350.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003163/0.04562, allocations: 271.2 kB / 351.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.04562, allocations: 0 / 351.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007536/0.04637, allocations: 156 kB / 351.3 MB, free: 9.969 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (35): * Single equations (assignments): 33 * 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.0001677/0.04654, allocations: 115.1 kB / 351.4 MB, free: 9.848 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.04819, allocations: 0.762 MB / 352.2 MB, free: 9.059 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.04819, allocations: 0 / 352.2 MB, free: 9.059 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008718/0.04906, allocations: 0.5085 MB / 352.7 MB, free: 8.523 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.04951, allocations: 46.91 kB / 352.7 MB, free: 8.484 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.05142, allocations: 0.9411 MB / 353.7 MB, free: 7.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.05172, allocations: 267 kB / 353.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001696/0.05189, allocations: 44.25 kB / 354 MB, free: 7.168 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.05199, allocations: 28.5 kB / 354 MB, free: 7.137 MB / 318.1 MB Notification: Performance of SimCode: time 4e-07/0.05199, allocations: 0 / 354 MB, free: 7.137 MB / 318.1 MB Notification: Performance of Templates: time 0.0121/0.06409, allocations: 5.127 MB / 359.1 MB, free: 2.043 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.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.561496376991272]