Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.001314/0.001314, allocations: 78.8 kB / 21.24 MB, free: 0.543 MB / 14.72 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.001387/0.001387, allocations: 161 kB / 24.5 MB, free: 3.719 MB / 14.72 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 1.487/1.487, allocations: 177.1 MB / 204.7 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] 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.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 65.61 kB / 325.5 MB, free: 200 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08954/0.0915, allocations: 53.38 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005454/0.09695, allocations: 3.817 MB / 382.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002721/0.09967, allocations: 1.615 MB / 384.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.09984, allocations: 16 kB / 384.4 MB, free: 10 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002317/0.1022, allocations: 0.9838 MB / 385.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005161/0.1027, allocations: 242.2 kB / 385.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.1042, allocations: 0.7201 MB / 386.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006247/0.1049, allocations: 0.6027 MB / 386.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006652/0.1055, allocations: 443.4 kB / 387.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003701/0.1059, allocations: 271 kB / 387.6 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004095/0.1063, allocations: 294.7 kB / 387.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.827e-05/0.1064, allocations: 52 kB / 387.9 MB, free: 6.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004969/0.1069, allocations: 279.7 kB / 388.2 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.107, allocations: 135.5 kB / 388.3 MB, free: 6.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002644/0.1073, allocations: 250.8 kB / 388.6 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.1083, allocations: 0.9379 MB / 389.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.696e-06/0.1083, allocations: 0 / 389.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1083, allocations: 0 / 389.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.1084, allocations: 0 / 389.5 MB, free: 4.816 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003672/0.112, allocations: 1.172 MB / 390.7 MB, free: 3.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1121, allocations: 11.98 kB / 390.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.1133, allocations: 176.4 kB / 390.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.1135, allocations: 178.5 kB / 391.1 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.331e-05/0.1136, allocations: 58.38 kB / 391.1 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.1137, allocations: 68.33 kB / 391.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.115, allocations: 0.7289 MB / 391.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.115, allocations: 0 / 391.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.639e-05/0.1151, allocations: 31.98 kB / 391.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.1151, allocations: 19.98 kB / 392 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.1164, allocations: 0.6023 MB / 392.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00318/0.1196, allocations: 1.772 MB / 394.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.1209, allocations: 0.6691 MB / 395 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005105/0.1214, allocations: 251.5 kB / 395.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/0.1216, allocations: 32.64 kB / 395.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.1216, allocations: 39.22 kB / 395.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 1.913e-06/0.1216, allocations: 0 / 395.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.001652/0.1233, allocations: 0.7008 MB / 396 MB, free: 14.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.595e-05/0.1233, allocations: 115.6 kB / 396.1 MB, free: 14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.1236, allocations: 251.9 kB / 396.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.404e-05/0.1237, allocations: 45.58 kB / 396.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.1238, allocations: 276.6 kB / 396.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/0.124, allocations: 238 kB / 396.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.1242, allocations: 122.6 kB / 397 MB, free: 13.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1244, allocations: 342.8 kB / 397.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004925/0.1249, allocations: 213.9 kB / 397.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005826/0.1255, allocations: 331.1 kB / 397.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.1265, allocations: 0.5145 MB / 398.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1265, allocations: 7.969 kB / 398.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001307/0.1278, allocations: 0.6297 MB / 399.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1279, allocations: 8 kB / 399.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1279, allocations: 0 / 399.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.1279, allocations: 8.188 kB / 399.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007246/0.1286, allocations: 155.8 kB / 399.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1286, allocations: 4 kB / 399.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/0.1291, allocations: 71.59 kB / 399.3 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-05/0.1291, allocations: 23.98 kB / 399.3 MB, free: 10.71 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002357/0.1294, allocations: 197.5 kB / 399.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.915e-05/0.1295, allocations: 35.77 kB / 399.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.1308, allocations: 0.5987 MB / 400.2 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.1308, allocations: 8 kB / 400.2 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1308, allocations: 0 / 400.2 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.1308, allocations: 3.984 kB / 400.2 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002067/0.1328, allocations: 1.109 MB / 401.3 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1328, allocations: 4 kB / 401.3 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005958/0.1334, allocations: 135.8 kB / 401.4 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.1334, allocations: 0 / 401.4 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.808e-05/0.1335, allocations: 15.98 kB / 401.4 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.1335, allocations: 4 kB / 401.4 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1335, allocations: 0 / 401.4 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.1352, allocations: 0.9862 MB / 402.4 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.63e-05/0.1353, allocations: 43.66 kB / 402.5 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.691e-05/0.1354, allocations: 16 kB / 402.5 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003967/0.1357, allocations: 27.98 kB / 402.5 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.1359, allocations: 48.5 kB / 402.6 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.1359, allocations: 16 kB / 402.6 MB, free: 7.406 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001844/0.1361, allocations: 181.2 kB / 402.7 MB, free: 7.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1361, allocations: 64 / 402.7 MB, free: 7.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005784/0.1367, allocations: 191.6 kB / 402.9 MB, free: 7.043 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_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 (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002391/0.1369, allocations: 147 kB / 403.1 MB, free: 6.891 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.138, allocations: 0.5013 MB / 403.6 MB, free: 6.387 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.138, allocations: 7.938 kB / 403.6 MB, free: 6.379 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005013/0.1385, allocations: 252 kB / 403.8 MB, free: 6.133 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005236/0.139, allocations: 48.66 kB / 403.9 MB, free: 6.086 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.1411, allocations: 1.043 MB / 404.9 MB, free: 5.012 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.1413, allocations: 241.1 kB / 405.2 MB, free: 4.746 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003159/0.1416, allocations: 79.34 kB / 405.2 MB, free: 4.664 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.1418, allocations: 44.48 kB / 405.3 MB, free: 4.617 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1418, allocations: 0 / 405.3 MB, free: 4.617 MB / 366.1 MB Notification: Performance of Templates: time 0.01089/0.1527, allocations: 5.036 MB / 410.3 MB, free: 15.67 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.369872755021788]