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.00185/0.00185, allocations: 99.86 kB / 20.96 MB, free: 3.461 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.001887/0.001887, allocations: 149.5 kB / 24.26 MB, free: 172 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.531/1.531, allocations: 173.4 MB / 200.8 MB, free: 9.312 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.413e-06/1.413e-06, allocations: 0 / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.678e-05, allocations: 2.312 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.01258/0.01261, allocations: 6.518 MB / 273.9 MB, free: 168 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00675/0.01936, allocations: 2.315 MB / 276.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.02051, allocations: 24 kB / 276.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006709/0.02722, allocations: 1.987 MB / 278.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003166/0.03039, allocations: 0.7103 MB / 278.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003689/0.03408, allocations: 1.136 MB / 280 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002565/0.03664, allocations: 1.156 MB / 281.2 MB, free: 8.801 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00214/0.03878, allocations: 0.833 MB / 282 MB, free: 7.945 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.04026, allocations: 0.6976 MB / 282.7 MB, free: 7.246 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.04133, allocations: 498.6 kB / 283.2 MB, free: 6.758 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002404/0.04157, allocations: 100 kB / 283.3 MB, free: 6.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.04294, allocations: 403.4 kB / 283.7 MB, free: 6.266 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003457/0.04328, allocations: 262.9 kB / 283.9 MB, free: 6.008 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007179/0.044, allocations: 383 kB / 284.3 MB, free: 5.633 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003012/0.04701, allocations: 1.713 MB / 286 MB, free: 3.914 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.04702, allocations: 0 / 286 MB, free: 3.914 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.04702, allocations: 0 / 286 MB, free: 3.914 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.715e-05/0.04707, allocations: 0 / 286 MB, free: 3.914 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.007291/0.05436, allocations: 2.143 MB / 288.2 MB, free: 1.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.0544, allocations: 8.922 kB / 288.2 MB, free: 1.723 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004024/0.05843, allocations: 0.7373 MB / 288.9 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.05888, allocations: 258.9 kB / 289.2 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.05903, allocations: 98.95 kB / 289.3 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003432/0.05937, allocations: 128.3 kB / 289.4 MB, free: 492 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1237/0.1831, allocations: 1.366 MB / 290.8 MB, free: 31.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.814e-05/0.1831, allocations: 3.484 kB / 290.8 MB, free: 31.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.1832, allocations: 54.41 kB / 290.8 MB, free: 31.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-05/0.1833, allocations: 31.56 kB / 290.9 MB, free: 31.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002466/0.1857, allocations: 1.133 MB / 292 MB, free: 31.6 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006533/0.1923, allocations: 3.776 MB / 295.8 MB, free: 29.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002028/0.1943, allocations: 1.173 MB / 296.9 MB, free: 29.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008014/0.1951, allocations: 458.9 kB / 297.4 MB, free: 28.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/0.1952, allocations: 31.5 kB / 297.4 MB, free: 28.92 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.1953, allocations: 52.42 kB / 297.5 MB, free: 28.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=122): time 2.946e-06/0.1953, allocations: 0 / 297.5 MB, free: 28.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.008198/0.2035, allocations: 3.186 MB / 300.7 MB, free: 27.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.2035, allocations: 95.66 kB / 300.7 MB, free: 27.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004676/0.204, allocations: 0.4896 MB / 301.2 MB, free: 27.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.411e-05/0.204, allocations: 45.77 kB / 301.3 MB, free: 27.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.2043, allocations: 0.5165 MB / 301.8 MB, free: 26.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002714/0.2045, allocations: 470.1 kB / 302.3 MB, free: 26.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000352/0.2049, allocations: 272.4 kB / 302.5 MB, free: 26.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.205, allocations: 0.5853 MB / 303.1 MB, free: 25.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007648/0.2058, allocations: 394.2 kB / 303.5 MB, free: 25.76 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009167/0.2067, allocations: 0.799 MB / 304.3 MB, free: 25.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/0.2084, allocations: 1.26 MB / 305.5 MB, free: 24.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.2084, allocations: 3.969 kB / 305.6 MB, free: 24.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.00237/0.2108, allocations: 1.454 MB / 307 MB, free: 23.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.2108, allocations: 8.375 kB / 307 MB, free: 23.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.2108, allocations: 12 kB / 307 MB, free: 23.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/0.2119, allocations: 302.2 kB / 307.3 MB, free: 23.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.213, allocations: 270 kB / 307.6 MB, free: 22.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003258/0.2163, allocations: 5.361 MB / 312.9 MB, free: 17.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000798/0.2171, allocations: 66.55 kB / 313 MB, free: 17.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.742e-05/0.2172, allocations: 51.98 kB / 313.1 MB, free: 17.25 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.0003356/0.2175, allocations: 316.3 kB / 313.4 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.2177, allocations: 107.6 kB / 313.5 MB, free: 16.83 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/0.22, allocations: 1.279 MB / 314.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.22, allocations: 12 kB / 314.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.22, allocations: 4 kB / 314.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.22, allocations: 11.91 kB / 314.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003557/0.2236, allocations: 2.365 MB / 317.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.2236, allocations: 0 / 317.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000854/0.2244, allocations: 199.7 kB / 317.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009942/0.2254, allocations: 261.2 kB / 317.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.439e-05/0.2255, allocations: 39.91 kB / 317.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002934/0.2284, allocations: 5.167 MB / 322.8 MB, free: 7.223 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2284, allocations: 4 kB / 322.8 MB, free: 7.219 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002832/0.2313, allocations: 1.858 MB / 324.7 MB, free: 5.316 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003267/0.2316, allocations: 147.5 kB / 324.8 MB, free: 5.172 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.2317, allocations: 23.98 kB / 324.8 MB, free: 5.148 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006061/0.2323, allocations: 51.92 kB / 324.9 MB, free: 5.098 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.2325, allocations: 96.75 kB / 325 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-05/0.2325, allocations: 39.97 kB / 325 MB, free: 4.965 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002151/0.2327, allocations: 311.1 kB / 325.3 MB, free: 4.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2327, allocations: 0 / 325.3 MB, free: 4.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001031/0.2338, allocations: 303.9 kB / 325.6 MB, free: 4.363 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.0002684/0.234, allocations: 177.4 kB / 325.8 MB, free: 4.184 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002308/0.2364, allocations: 1.53 MB / 327.3 MB, free: 2.621 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2364, allocations: 0 / 327.3 MB, free: 2.621 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.2375, allocations: 0.9716 MB / 328.3 MB, free: 1.609 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005325/0.238, allocations: 81.84 kB / 328.4 MB, free: 1.531 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003583/0.2416, allocations: 1.933 MB / 330.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005505/0.2422, allocations: 420.3 kB / 330.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006827/0.2428, allocations: 150.6 kB / 330.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/0.2431, allocations: 76.47 kB / 330.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.2431, allocations: 0 / 330.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of Templates: time 0.02237/0.2655, allocations: 10.12 MB / 341.1 MB, free: 4.926 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] 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.960722128045745]