Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 84.66 kB / 20.96 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002391/0.002391, allocations: 149.1 kB / 24.26 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 173.4 MB / 200.8 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.463e-05/3.654e-05, allocations: 6.25 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.01278/0.01282, allocations: 5.941 MB / 273.3 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00672/0.01954, allocations: 2.265 MB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008123/0.02035, allocations: 24 kB / 275.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006054/0.02641, allocations: 1.843 MB / 277.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002937/0.02934, allocations: 0.7025 MB / 278.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003673/0.03302, allocations: 1.097 MB / 279.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002614/0.03563, allocations: 1.159 MB / 280.4 MB, free: 9.617 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001981/0.03761, allocations: 0.8291 MB / 281.2 MB, free: 8.766 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/0.03901, allocations: 0.6976 MB / 281.9 MB, free: 8.066 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009887/0.04, allocations: 490.6 kB / 282.4 MB, free: 7.586 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002105/0.04021, allocations: 100 kB / 282.5 MB, free: 7.488 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.04164, allocations: 407.4 kB / 282.9 MB, free: 7.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003298/0.04197, allocations: 254.9 kB / 283.1 MB, free: 6.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006786/0.04265, allocations: 383 kB / 283.5 MB, free: 6.465 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00371/0.04636, allocations: 1.709 MB / 285.2 MB, free: 4.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.04636, allocations: 0 / 285.2 MB, free: 4.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.04637, allocations: 3.938 kB / 285.2 MB, free: 4.746 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.101e-05/0.0464, allocations: 0 / 285.2 MB, free: 4.746 MB / 266.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.009836/0.05623, allocations: 1.948 MB / 287.2 MB, free: 2.762 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.05629, allocations: 8.922 kB / 287.2 MB, free: 2.754 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005992/0.06228, allocations: 0.7374 MB / 287.9 MB, free: 2.016 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005612/0.06284, allocations: 256 kB / 288.2 MB, free: 1.738 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/0.06302, allocations: 103 kB / 288.3 MB, free: 1.637 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003947/0.06341, allocations: 132.3 kB / 288.4 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004026/0.06744, allocations: 1.325 MB / 289.7 MB, free: 148 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.65e-05/0.06749, allocations: 8.141 kB / 289.7 MB, free: 140 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001861/0.06768, allocations: 48.38 kB / 289.8 MB, free: 92 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.931e-05/0.06773, allocations: 35.94 kB / 289.8 MB, free: 56 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.175/0.2428, allocations: 1.183 MB / 291 MB, free: 32.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006392/0.2491, allocations: 3.364 MB / 294.3 MB, free: 30.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/0.2513, allocations: 1.147 MB / 295.5 MB, free: 29.9 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009468/0.2522, allocations: 459.2 kB / 295.9 MB, free: 29.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/0.2524, allocations: 38.14 kB / 296 MB, free: 29.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.2524, allocations: 44.81 kB / 296 MB, free: 29.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=122): time 3.055e-06/0.2524, allocations: 0 / 296 MB, free: 29.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.01081/0.2632, allocations: 3.606 MB / 299.6 MB, free: 28.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.2632, allocations: 93.8 kB / 299.7 MB, free: 28.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004076/0.2637, allocations: 390.2 kB / 300.1 MB, free: 28.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.873e-05/0.2637, allocations: 46.42 kB / 300.1 MB, free: 28.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.2639, allocations: 463.4 kB / 300.6 MB, free: 27.74 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.2641, allocations: 445.2 kB / 301 MB, free: 27.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003006/0.2644, allocations: 225.3 kB / 301.3 MB, free: 27.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.2646, allocations: 379.8 kB / 301.6 MB, free: 26.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.2656, allocations: 431.7 kB / 302 MB, free: 26.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.2667, allocations: 0.7296 MB / 302.8 MB, free: 26.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002035/0.2688, allocations: 1.176 MB / 303.9 MB, free: 25.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.034e-06/0.2688, allocations: 3.812 kB / 304 MB, free: 25.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002787/0.2716, allocations: 1.521 MB / 305.5 MB, free: 25.03 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.2716, allocations: 7.781 kB / 305.5 MB, free: 25.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.2716, allocations: 7.625 kB / 305.5 MB, free: 25.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.2727, allocations: 289.7 kB / 305.8 MB, free: 24.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.2738, allocations: 289.8 kB / 306.1 MB, free: 24.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003056/0.2769, allocations: 4.091 MB / 310.1 MB, free: 20.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009008/0.2778, allocations: 83.88 kB / 310.2 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.894e-05/0.2779, allocations: 55.98 kB / 310.3 MB, free: 20.32 MB / 266.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.0003571/0.2783, allocations: 269.5 kB / 310.5 MB, free: 20.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.2784, allocations: 111.5 kB / 310.7 MB, free: 19.94 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002769/0.2812, allocations: 1.342 MB / 312 MB, free: 18.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.2812, allocations: 12 kB / 312 MB, free: 18.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.2812, allocations: 4 kB / 312 MB, free: 18.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.2812, allocations: 3.984 kB / 312 MB, free: 18.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004054/0.2853, allocations: 2.191 MB / 314.2 MB, free: 16.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.2853, allocations: 0 / 314.2 MB, free: 16.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009681/0.2863, allocations: 208.6 kB / 314.4 MB, free: 16.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001033/0.2873, allocations: 256.8 kB / 314.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.99e-05/0.2874, allocations: 27.98 kB / 314.7 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00282/0.2902, allocations: 3.911 MB / 318.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2902, allocations: 4.125 kB / 318.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003615/0.2938, allocations: 1.912 MB / 320.5 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003526/0.2941, allocations: 155.5 kB / 320.7 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.2943, allocations: 20 kB / 320.7 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007612/0.295, allocations: 59.95 kB / 320.7 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.2952, allocations: 96.75 kB / 320.8 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/0.2953, allocations: 40.16 kB / 320.9 MB, free: 9.461 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002121/0.2955, allocations: 259.1 kB / 321.1 MB, free: 9.207 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2955, allocations: 0 / 321.1 MB, free: 9.207 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001126/0.2966, allocations: 303.9 kB / 321.4 MB, free: 8.91 MB / 266.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.0002862/0.2969, allocations: 187.1 kB / 321.6 MB, free: 8.727 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002741/0.2996, allocations: 1.395 MB / 323 MB, free: 7.309 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2996, allocations: 0 / 323 MB, free: 7.309 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.301, allocations: 0.8199 MB / 323.8 MB, free: 6.461 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005367/0.3015, allocations: 77.84 kB / 323.9 MB, free: 6.387 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003695/0.3052, allocations: 1.934 MB / 325.8 MB, free: 4.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.3055, allocations: 420.1 kB / 326.2 MB, free: 3.961 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0005919/0.3061, allocations: 150.6 kB / 326.4 MB, free: 3.809 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.3064, allocations: 76.47 kB / 326.5 MB, free: 3.734 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.3064, allocations: 0 / 326.5 MB, free: 3.734 MB / 266.7 MB Notification: Performance of Templates: time 0.0193/0.3257, allocations: 10.06 MB / 336.5 MB, free: 9.852 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.946473471005447]