Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.0009177/0.0009177, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.0009828/0.0009828, allocations: 164.4 kB / 24.91 MB, free: 8.719 MB / 18.57 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 0.9276/0.9276, allocations: 177 MB / 205.2 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] 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.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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 273.4 MB, free: 1.156 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.095e-05, allocations: 2.312 kB / 273.4 MB, free: 1.152 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004616/0.004637, allocations: 4.945 MB / 278.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002978/0.007615, allocations: 2.155 MB / 280.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003605/0.007976, allocations: 16 kB / 280.6 MB, free: 10 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001794/0.009769, allocations: 1.485 MB / 282 MB, free: 8.512 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009799/0.01075, allocations: 421.1 kB / 282.5 MB, free: 8.098 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.0121, allocations: 1.148 MB / 283.6 MB, free: 6.945 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008408/0.01294, allocations: 0.7742 MB / 284.4 MB, free: 6.164 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007399/0.01368, allocations: 0.6162 MB / 285 MB, free: 5.543 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004936/0.01418, allocations: 486.9 kB / 285.5 MB, free: 5.066 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003281/0.0145, allocations: 347.1 kB / 285.8 MB, free: 4.727 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.38e-05/0.01458, allocations: 75.94 kB / 285.9 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007398/0.01532, allocations: 411.3 kB / 286.3 MB, free: 4.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.936e-05/0.01541, allocations: 171.3 kB / 286.5 MB, free: 4.082 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.01557, allocations: 263.3 kB / 286.7 MB, free: 3.824 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009896/0.01656, allocations: 0.8993 MB / 287.6 MB, free: 2.922 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.01657, allocations: 3.938 kB / 287.6 MB, free: 2.918 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.01657, allocations: 3.938 kB / 287.6 MB, free: 2.914 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.01658, allocations: 0 / 287.6 MB, free: 2.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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002498/0.01908, allocations: 1.451 MB / 289.1 MB, free: 1.434 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.01911, allocations: 19.97 kB / 289.1 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.02065, allocations: 0.5119 MB / 289.6 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.02082, allocations: 208.7 kB / 289.8 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.852e-05/0.02087, allocations: 62.38 kB / 289.9 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.957e-05/0.02097, allocations: 84.38 kB / 289.9 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1052/0.1262, allocations: 0.6332 MB / 290.6 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.697e-05/0.1262, allocations: 3.656 kB / 290.6 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.128e-05/0.1263, allocations: 35.64 kB / 290.6 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.1263, allocations: 20.03 kB / 290.6 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005002/0.1268, allocations: 291.7 kB / 290.9 MB, free: 18.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002383/0.1292, allocations: 1.897 MB / 292.8 MB, free: 17.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.1296, allocations: 347.9 kB / 293.2 MB, free: 17.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.1297, allocations: 94.28 kB / 293.3 MB, free: 17.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.201e-05/0.1298, allocations: 28.42 kB / 293.3 MB, free: 17.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.1299, allocations: 39.19 kB / 293.3 MB, free: 17.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.635e-06/0.1299, allocations: 0 / 293.3 MB, free: 17.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=58): time 0.0009895/0.1308, allocations: 0.5662 MB / 293.9 MB, free: 17.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.1309, allocations: 88.12 kB / 294 MB, free: 17.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.1311, allocations: 292.2 kB / 294.3 MB, free: 17.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.1311, allocations: 35.77 kB / 294.3 MB, free: 17.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.1312, allocations: 369.7 kB / 294.7 MB, free: 16.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.467e-05/0.1313, allocations: 211.7 kB / 294.9 MB, free: 16.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.1314, allocations: 141 kB / 295 MB, free: 16.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.213e-05/0.1315, allocations: 354 kB / 295.3 MB, free: 16.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.1316, allocations: 78.53 kB / 295.4 MB, free: 16.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.1318, allocations: 342.4 kB / 295.8 MB, free: 16.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/0.1321, allocations: 473 kB / 296.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.1321, allocations: 2.609 kB / 296.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0005226/0.1327, allocations: 461.9 kB / 296.7 MB, free: 15.85 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1327, allocations: 12 kB / 296.7 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.1327, allocations: 10.75 kB / 296.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003239/0.133, allocations: 85.33 kB / 296.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/0.1334, allocations: 172.7 kB / 296.9 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008003/0.1342, allocations: 2.383 MB / 299.3 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.1344, allocations: 87.44 kB / 299.4 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.1345, allocations: 29.27 kB / 299.4 MB, free: 13.56 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (92): * Single equations (assignments): 90 * 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.000128/0.1346, allocations: 156.6 kB / 299.6 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.313e-05/0.1347, allocations: 47.81 kB / 299.6 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000432/0.1351, allocations: 349.8 kB / 300 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1351, allocations: 6.156 kB / 300 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1351, allocations: 2.219 kB / 300 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1351, allocations: 2.766 kB / 300 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007749/0.1359, allocations: 0.6633 MB / 300.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1359, allocations: 1.734 kB / 300.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.1361, allocations: 104.5 kB / 300.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002559/0.1364, allocations: 77.91 kB / 300.8 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.1364, allocations: 11.48 kB / 300.8 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006548/0.1371, allocations: 2.392 MB / 303.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1371, allocations: 0 / 303.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.1376, allocations: 477.4 kB / 303.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.29e-05/0.1376, allocations: 55 kB / 303.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.1377, allocations: 16.98 kB / 303.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.1378, allocations: 17.69 kB / 303.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.902e-05/0.1379, allocations: 44.64 kB / 303.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.1379, allocations: 11.78 kB / 303.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.831e-05/0.138, allocations: 105.5 kB / 304 MB, free: 10.65 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.138, allocations: 4 kB / 304 MB, free: 10.65 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004848/0.1385, allocations: 218.9 kB / 304.2 MB, free: 10.63 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 (55): * Single equations (assignments): 53 * 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.0001867/0.1387, allocations: 150.2 kB / 304.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004988/0.1392, allocations: 0.5483 MB / 304.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/0.1392, allocations: 10.12 kB / 304.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.1394, allocations: 391.2 kB / 305.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.1396, allocations: 50.38 kB / 305.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.141, allocations: 1.064 MB / 306.4 MB, free: 9.555 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.143e-05/0.1411, allocations: 138.3 kB / 306.5 MB, free: 9.477 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002139/0.1413, allocations: 86.75 kB / 306.6 MB, free: 9.438 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.1415, allocations: 122.6 kB / 306.7 MB, free: 9.391 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.1415, allocations: 0 / 306.7 MB, free: 9.391 MB / 266.7 MB Notification: Performance of Templates: time 0.008901/0.1504, allocations: 6.505 MB / 313.2 MB, free: 7.504 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.713164105080068]