Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.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.001171/0.001171, 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.001074/0.001074, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9984/0.9984, allocations: 177 MB / 205.2 MB, free: 5.035 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.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 3.938 kB / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.293e-05, allocations: 5.406 kB / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.003266/0.003289, allocations: 2.881 MB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.00436, allocations: 0.8018 MB / 277.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.004468, allocations: 8 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.004637, allocations: 59.44 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.004843, allocations: 111.1 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.00502, allocations: 111.7 kB / 277.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.005293, allocations: 418.3 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.005435, allocations: 93.95 kB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002614/0.005697, allocations: 235.4 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.005829, allocations: 131.6 kB / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.005865, allocations: 32 kB / 278.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.136e-05/0.005896, allocations: 36 kB / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.408e-05/0.00594, allocations: 83.66 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.707e-05/0.006017, allocations: 123.7 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.006245, allocations: 263 kB / 278.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.006247, allocations: 0 / 278.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.006247, allocations: 4 kB / 278.8 MB, free: 11.63 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.006251, allocations: 0 / 278.8 MB, free: 11.63 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0005879/0.006839, allocations: 0.5543 MB / 279.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.84e-05/0.006868, allocations: 11.98 kB / 279.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.408e-05/0.006922, allocations: 48.84 kB / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.007112, allocations: 189 kB / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.007135, allocations: 25.03 kB / 279.6 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.007167, allocations: 28.38 kB / 279.6 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.007397, allocations: 219.3 kB / 279.8 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.007406, allocations: 192 / 279.8 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.007423, allocations: 12.38 kB / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.007431, allocations: 11.94 kB / 279.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.00754, allocations: 84.55 kB / 280 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008391/0.008379, allocations: 0.7561 MB / 280.7 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.008505, allocations: 78.53 kB / 280.8 MB, free: 9.512 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.553e-05/0.008541, allocations: 24.84 kB / 280.8 MB, free: 9.484 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.008558, allocations: 4 kB / 280.8 MB, free: 9.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.008578, allocations: 34.56 kB / 280.8 MB, free: 9.438 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.152e-06/0.008579, allocations: 4 kB / 280.8 MB, free: 9.434 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007191/0.009298, allocations: 397.2 kB / 281.2 MB, free: 9.035 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.009326, allocations: 55.41 kB / 281.3 MB, free: 8.969 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.009471, allocations: 264.8 kB / 281.6 MB, free: 8.699 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.009485, allocations: 33.7 kB / 281.6 MB, free: 8.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.045e-05/0.009565, allocations: 216 kB / 281.8 MB, free: 8.445 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.009605, allocations: 79.33 kB / 281.9 MB, free: 8.367 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.718e-05/0.009672, allocations: 65.66 kB / 281.9 MB, free: 8.297 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.94e-05/0.009772, allocations: 342.7 kB / 282.3 MB, free: 7.953 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.254e-05/0.009814, allocations: 23.98 kB / 282.3 MB, free: 7.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.671e-05/0.009901, allocations: 128 kB / 282.4 MB, free: 7.758 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.01005, allocations: 189.1 kB / 282.6 MB, free: 7.531 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01005, allocations: 0 / 282.6 MB, free: 7.531 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002331/0.01028, allocations: 237.2 kB / 282.8 MB, free: 7.289 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.0103, allocations: 4 kB / 282.8 MB, free: 7.285 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.0103, allocations: 4 kB / 282.8 MB, free: 7.281 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002729/0.01057, allocations: 74.05 kB / 282.9 MB, free: 7.203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.01076, allocations: 67.91 kB / 283 MB, free: 7.137 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/0.01183, allocations: 2.384 MB / 285.4 MB, free: 4.574 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.01194, allocations: 23.88 kB / 285.4 MB, free: 4.551 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.01195, allocations: 12 kB / 285.4 MB, free: 4.539 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 (37): * Single equations (assignments): 35 * 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 8.026e-05/0.01203, allocations: 129.7 kB / 285.5 MB, free: 4.402 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.01206, allocations: 28.03 kB / 285.6 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.0121, allocations: 34.27 kB / 285.6 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.0121, allocations: 4 kB / 285.6 MB, free: 4.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.0121, allocations: 0 / 285.6 MB, free: 4.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.0121, allocations: 3.938 kB / 285.6 MB, free: 4.336 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.01224, allocations: 149.8 kB / 285.7 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01225, allocations: 0 / 285.7 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.85e-05/0.01232, allocations: 39.97 kB / 285.8 MB, free: 4.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001847/0.01251, allocations: 61.66 kB / 285.8 MB, free: 4.066 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.01252, allocations: 11.98 kB / 285.9 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009891/0.01351, allocations: 2.369 MB / 288.2 MB, free: 1.508 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01351, allocations: 0 / 288.2 MB, free: 1.508 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.01369, allocations: 242.1 kB / 288.5 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.01371, allocations: 23.81 kB / 288.5 MB, free: 1.227 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.01373, allocations: 4 kB / 288.5 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.544e-05/0.01381, allocations: 11.98 kB / 288.5 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.01385, allocations: 19.91 kB / 288.5 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.01385, allocations: 12.06 kB / 288.5 MB, free: 1.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.805e-05/0.01392, allocations: 86.77 kB / 288.6 MB, free: 1.098 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01392, allocations: 0 / 288.6 MB, free: 1.098 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000205/0.01413, allocations: 76 kB / 288.7 MB, free: 1.023 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (18): * Single equations (assignments): 16 * 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 7.721e-05/0.0142, allocations: 88.39 kB / 288.8 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003142/0.01452, allocations: 365 kB / 289.1 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/0.01453, allocations: 8 kB / 289.1 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.0147, allocations: 301.5 kB / 289.4 MB, free: 224 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.01489, allocations: 33.28 kB / 289.5 MB, free: 192 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09095/0.1058, allocations: 0.5177 MB / 290 MB, free: 25.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.304e-05/0.1059, allocations: 94.67 kB / 290.1 MB, free: 24.95 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.106, allocations: 26.42 kB / 290.1 MB, free: 24.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.421e-05/0.1061, allocations: 81 kB / 290.2 MB, free: 24.9 MB / 266.7 MB Notification: Performance of SimCode: time 8.81e-07/0.1061, allocations: 0 / 290.2 MB, free: 24.9 MB / 266.7 MB Notification: Performance of Templates: time 0.005574/0.1117, allocations: 3.007 MB / 293.2 MB, free: 24.76 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/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.7059517218731344]