Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.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.000978/0.000978, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001743/0.001743, allocations: 174.3 kB / 24.91 MB, free: 8.777 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 1.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 273.5 MB, free: 1.152 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.678e-05, allocations: 2.312 kB / 273.5 MB, free: 1.148 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004002/0.004029, allocations: 3.504 MB / 277 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.005544, allocations: 0.9849 MB / 278 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.005735, allocations: 4 kB / 278 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000211/0.005946, allocations: 99.09 kB / 278.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.00626, allocations: 174.6 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.006573, allocations: 183.6 kB / 278.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000725/0.007298, allocations: 0.6463 MB / 279.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.0075, allocations: 138.6 kB / 279.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003262/0.007826, allocations: 367.1 kB / 279.6 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.008026, allocations: 199.4 kB / 279.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.065e-05/0.008076, allocations: 52 kB / 279.8 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.484e-05/0.008121, allocations: 56 kB / 279.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.405e-05/0.008185, allocations: 127.5 kB / 280 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.008304, allocations: 203.4 kB / 280.2 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.008638, allocations: 410.4 kB / 280.6 MB, free: 10 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.00864, allocations: 0 / 280.6 MB, free: 10 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.008642, allocations: 0 / 280.6 MB, free: 10 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.008648, allocations: 0 / 280.6 MB, free: 10 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.0007763/0.009424, allocations: 0.7645 MB / 281.4 MB, free: 9.211 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.009456, allocations: 8.031 kB / 281.4 MB, free: 9.203 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.254e-05/0.009539, allocations: 80.88 kB / 281.4 MB, free: 9.125 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.009801, allocations: 249.4 kB / 281.7 MB, free: 8.855 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.667e-05/0.009838, allocations: 45.62 kB / 281.7 MB, free: 8.809 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/0.009885, allocations: 52.38 kB / 281.8 MB, free: 8.758 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.01021, allocations: 319.7 kB / 282.1 MB, free: 8.438 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.01023, allocations: 192 / 282.1 MB, free: 8.438 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.01025, allocations: 23.94 kB / 282.1 MB, free: 8.414 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.01026, allocations: 12 kB / 282.1 MB, free: 8.402 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.01042, allocations: 138.4 kB / 282.3 MB, free: 8.266 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.01157, allocations: 1.044 MB / 283.3 MB, free: 7.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.01181, allocations: 188.3 kB / 283.5 MB, free: 6.969 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.01193, allocations: 101.4 kB / 283.6 MB, free: 6.867 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.01196, allocations: 12.33 kB / 283.6 MB, free: 6.855 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.01198, allocations: 34.89 kB / 283.6 MB, free: 6.812 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.774e-06/0.01198, allocations: 0 / 283.6 MB, free: 6.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=55): time 0.001399/0.01338, allocations: 0.9188 MB / 284.6 MB, free: 5.887 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.01341, allocations: 55.91 kB / 284.6 MB, free: 5.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.01361, allocations: 363.1 kB / 285 MB, free: 5.453 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.01363, allocations: 37.7 kB / 285 MB, free: 5.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.01375, allocations: 281.2 kB / 285.3 MB, free: 5.133 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.881e-05/0.01384, allocations: 198.3 kB / 285.5 MB, free: 4.938 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003622/0.0142, allocations: 106.2 kB / 285.6 MB, free: 4.828 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.648e-05/0.01429, allocations: 362.7 kB / 285.9 MB, free: 4.465 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.317e-05/0.01437, allocations: 61.28 kB / 286 MB, free: 4.402 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.01451, allocations: 187.1 kB / 286.2 MB, free: 4.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.01474, allocations: 296.1 kB / 286.5 MB, free: 3.848 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01474, allocations: 3.938 kB / 286.5 MB, free: 3.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0004476/0.01519, allocations: 442.7 kB / 286.9 MB, free: 3.398 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.01521, allocations: 8 kB / 286.9 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.01522, allocations: 0 / 286.9 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004927/0.01571, allocations: 221.5 kB / 287.1 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.01598, allocations: 127.8 kB / 287.2 MB, free: 3.043 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1002/0.1162, allocations: 3.289 MB / 290.5 MB, free: 24.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003039/0.1165, allocations: 26.59 kB / 290.6 MB, free: 24.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.1165, allocations: 18.28 kB / 290.6 MB, free: 24.09 MB / 266.7 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.0001275/0.1166, allocations: 147.6 kB / 290.7 MB, free: 23.97 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.206e-05/0.1167, allocations: 46.2 kB / 290.8 MB, free: 23.97 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.787e-05/0.1167, allocations: 60.06 kB / 290.8 MB, free: 23.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1168, allocations: 6.688 kB / 290.8 MB, free: 23.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/0.1168, allocations: 4.438 kB / 290.8 MB, free: 23.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1168, allocations: 3.047 kB / 290.8 MB, free: 23.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009369/0.1177, allocations: 0.7238 MB / 291.6 MB, free: 23.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1177, allocations: 1.984 kB / 291.6 MB, free: 23.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.1179, allocations: 66.19 kB / 291.6 MB, free: 23.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004763/0.1183, allocations: 214.7 kB / 291.8 MB, free: 23.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.1184, allocations: 14.5 kB / 291.9 MB, free: 23.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0015/0.1199, allocations: 3.186 MB / 295 MB, free: 21.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1199, allocations: 1.766 kB / 295 MB, free: 21.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003986/0.1203, allocations: 453.3 kB / 295.5 MB, free: 20.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.1203, allocations: 38.53 kB / 295.5 MB, free: 20.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.1203, allocations: 14 kB / 295.5 MB, free: 20.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.1204, allocations: 13.59 kB / 295.5 MB, free: 20.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-05/0.1205, allocations: 54.17 kB / 295.6 MB, free: 20.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.1206, allocations: 14.39 kB / 295.6 MB, free: 20.97 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001195/0.1207, allocations: 146.2 kB / 295.8 MB, free: 20.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1207, allocations: 3.938 kB / 295.8 MB, free: 20.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004647/0.1211, allocations: 152.4 kB / 295.9 MB, free: 20.96 MB / 266.7 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 9.03e-05/0.1212, allocations: 92.25 kB / 296 MB, free: 20.89 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005598/0.1218, allocations: 0.5996 MB / 296.6 MB, free: 20.64 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/0.1218, allocations: 4.594 kB / 296.6 MB, free: 20.64 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002782/0.1221, allocations: 439.8 kB / 297 MB, free: 20.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.1223, allocations: 45.97 kB / 297.1 MB, free: 20.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.1233, allocations: 0.8944 MB / 298 MB, free: 19.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.1234, allocations: 131.1 kB / 298.1 MB, free: 19.86 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.1235, allocations: 47.48 kB / 298.1 MB, free: 19.85 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.1237, allocations: 95.97 kB / 298.2 MB, free: 19.8 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1237, allocations: 0 / 298.2 MB, free: 19.8 MB / 266.7 MB Notification: Performance of Templates: time 0.008433/0.1321, allocations: 5.508 MB / 303.7 MB, free: 18.67 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7081231959164143]