Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.0009359/0.0009359, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.001499/0.001499, allocations: 142.1 kB / 24.97 MB, free: 8.316 MB / 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 0.9227/0.9227, allocations: 173.3 MB / 201.5 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 179] 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.ToroidalCoreQuadraticCrossSection,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.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,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.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 268.1 MB, free: 6.699 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.386e-05/1.516e-05, allocations: 2.312 kB / 268.1 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004083/0.004098, allocations: 4.981 MB / 273.1 MB, free: 1.691 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.006077, allocations: 2.031 MB / 275.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.006239, allocations: 19.94 kB / 275.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.007762, allocations: 1.482 MB / 276.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006915/0.008454, allocations: 0.5668 MB / 277.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009929/0.009446, allocations: 1.019 MB / 278.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005384/0.009985, allocations: 0.7819 MB / 279 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005848/0.01057, allocations: 0.5714 MB / 279.5 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003773/0.01095, allocations: 487 kB / 280 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.01122, allocations: 339.1 kB / 280.4 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.963e-05/0.01129, allocations: 68 kB / 280.4 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000409/0.0117, allocations: 387.2 kB / 280.8 MB, free: 9.934 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.429e-05/0.01179, allocations: 167.3 kB / 281 MB, free: 9.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.01195, allocations: 263.3 kB / 281.2 MB, free: 9.512 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007098/0.01266, allocations: 0.8759 MB / 282.1 MB, free: 8.633 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.01267, allocations: 3.984 kB / 282.1 MB, free: 8.629 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.01267, allocations: 0 / 282.1 MB, free: 8.629 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.01267, allocations: 0 / 282.1 MB, free: 8.629 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002416/0.01509, allocations: 1.513 MB / 283.6 MB, free: 7.074 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.01512, allocations: 8.922 kB / 283.6 MB, free: 7.066 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/0.01667, allocations: 0.5076 MB / 284.1 MB, free: 6.559 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.01682, allocations: 203.6 kB / 284.3 MB, free: 6.332 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.692e-05/0.01687, allocations: 62.38 kB / 284.4 MB, free: 6.273 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.844e-05/0.01696, allocations: 88.33 kB / 284.5 MB, free: 6.188 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000839/0.0178, allocations: 0.7162 MB / 285.2 MB, free: 5.445 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.01782, allocations: 192 / 285.2 MB, free: 5.445 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.622e-05/0.01787, allocations: 39.94 kB / 285.2 MB, free: 5.406 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.01789, allocations: 20 kB / 285.2 MB, free: 5.387 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006537/0.01854, allocations: 431.7 kB / 285.7 MB, free: 4.969 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002394/0.02094, allocations: 2.303 MB / 288 MB, free: 2.547 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005446/0.02148, allocations: 422.8 kB / 288.4 MB, free: 2.117 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.02166, allocations: 129.1 kB / 288.5 MB, free: 1.988 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.497e-05/0.02171, allocations: 24.48 kB / 288.5 MB, free: 1.965 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.02174, allocations: 41.89 kB / 288.6 MB, free: 1.914 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 1.683e-06/0.02174, allocations: 0 / 288.6 MB, free: 1.914 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.002293/0.02403, allocations: 1.338 MB / 289.9 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.02407, allocations: 85.61 kB / 290 MB, free: 436 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.02432, allocations: 369.9 kB / 290.4 MB, free: 52 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.02434, allocations: 33.7 kB / 290.4 MB, free: 12 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.09257/0.1169, allocations: 420.4 kB / 290.8 MB, free: 31.92 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.1171, allocations: 227.9 kB / 291 MB, free: 31.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.1173, allocations: 157.5 kB / 291.2 MB, free: 31.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.39e-05/0.1174, allocations: 0.5232 MB / 291.7 MB, free: 31.28 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.1176, allocations: 122.4 kB / 291.8 MB, free: 31.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003654/0.118, allocations: 490.9 kB / 292.3 MB, free: 30.83 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00056/0.1185, allocations: 0.6292 MB / 292.9 MB, free: 30.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.1185, allocations: 2.062 kB / 292.9 MB, free: 30.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0008698/0.1194, allocations: 0.6584 MB / 293.6 MB, free: 30.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1194, allocations: 8.719 kB / 293.6 MB, free: 30.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.1194, allocations: 7.75 kB / 293.6 MB, free: 30.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003859/0.1198, allocations: 101.5 kB / 293.7 MB, free: 30.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/0.1203, allocations: 193.9 kB / 293.9 MB, free: 30.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009999/0.1213, allocations: 3.551 MB / 297.4 MB, free: 26.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/0.1216, allocations: 42.67 kB / 297.5 MB, free: 26.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/0.1216, allocations: 38.98 kB / 297.5 MB, free: 26.78 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.1218, allocations: 213.5 kB / 297.7 MB, free: 26.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.33e-05/0.1218, allocations: 61.5 kB / 297.8 MB, free: 26.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006597/0.1225, allocations: 0.4926 MB / 298.3 MB, free: 26.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1225, allocations: 11.25 kB / 298.3 MB, free: 26.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.1225, allocations: 0.8438 kB / 298.3 MB, free: 26.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1225, allocations: 4.062 kB / 298.3 MB, free: 26.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.1236, allocations: 1.025 MB / 299.3 MB, free: 25.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1236, allocations: 0 / 299.3 MB, free: 25.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003092/0.1239, allocations: 119.3 kB / 299.4 MB, free: 25.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000274/0.1242, allocations: 87.53 kB / 299.5 MB, free: 25.83 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.1242, allocations: 14.75 kB / 299.5 MB, free: 25.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000852/0.125, allocations: 3.547 MB / 303.1 MB, free: 22.26 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.125, allocations: 0 / 303.1 MB, free: 22.26 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007954/0.1258, allocations: 0.7048 MB / 303.8 MB, free: 21.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.126, allocations: 93.45 kB / 303.9 MB, free: 21.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/0.126, allocations: 12.7 kB / 303.9 MB, free: 21.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.1262, allocations: 29.14 kB / 303.9 MB, free: 21.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.478e-05/0.1263, allocations: 49.55 kB / 304 MB, free: 21.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/0.1263, allocations: 19.3 kB / 304 MB, free: 21.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001255/0.1264, allocations: 234.7 kB / 304.2 MB, free: 21.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1264, allocations: 0 / 304.2 MB, free: 21.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004687/0.1269, allocations: 178.2 kB / 304.4 MB, free: 21.65 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001879/0.1271, allocations: 155.5 kB / 304.5 MB, free: 21.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007113/0.1278, allocations: 0.757 MB / 305.3 MB, free: 21.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1278, allocations: 0 / 305.3 MB, free: 21.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.1281, allocations: 0.5437 MB / 305.8 MB, free: 20.71 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.1284, allocations: 62.48 kB / 305.9 MB, free: 20.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.13, allocations: 1.141 MB / 307.1 MB, free: 20.06 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.239e-05/0.1301, allocations: 139.7 kB / 307.2 MB, free: 19.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002477/0.1304, allocations: 89.66 kB / 307.3 MB, free: 19.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.1305, allocations: 53.03 kB / 307.3 MB, free: 19.94 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.1305, allocations: 1.031 kB / 307.3 MB, free: 19.94 MB / 266.7 MB Notification: Performance of Templates: time 0.008069/0.1386, allocations: 6.383 MB / 313.7 MB, free: 17.31 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.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.865288103930652]