Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.00148/0.00148, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001582/0.001582, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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 1.444/1.444, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 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.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.683e-05, allocations: 2.312 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006667/0.006694, allocations: 3.933 MB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003368/0.01006, allocations: 1.623 MB / 277.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000309/0.01037, allocations: 12 kB / 277.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002659/0.01303, allocations: 1.011 MB / 278.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007743/0.0138, allocations: 266 kB / 279.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.01552, allocations: 0.716 MB / 279.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008096/0.01633, allocations: 0.6607 MB / 280.4 MB, free: 9.531 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007925/0.01712, allocations: 465.3 kB / 280.9 MB, free: 9.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008064/0.01793, allocations: 403 kB / 281.3 MB, free: 8.676 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004168/0.01835, allocations: 279.2 kB / 281.5 MB, free: 8.402 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.729e-05/0.01845, allocations: 60 kB / 281.6 MB, free: 8.344 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005731/0.01902, allocations: 279.5 kB / 281.9 MB, free: 8.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.01916, allocations: 139.4 kB / 282 MB, free: 7.934 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002701/0.01943, allocations: 219.4 kB / 282.2 MB, free: 7.719 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.02076, allocations: 1.008 MB / 283.2 MB, free: 6.707 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.02076, allocations: 0 / 283.2 MB, free: 6.707 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.02076, allocations: 0 / 283.2 MB, free: 6.707 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.02077, allocations: 0 / 283.2 MB, free: 6.707 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003827/0.0246, allocations: 1.211 MB / 284.5 MB, free: 5.465 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.02464, allocations: 15.98 kB / 284.5 MB, free: 5.449 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/0.02623, allocations: 328 kB / 284.8 MB, free: 5.129 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.02646, allocations: 180.9 kB / 285 MB, free: 4.926 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.079e-05/0.02653, allocations: 58.31 kB / 285 MB, free: 4.867 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.02667, allocations: 80.36 kB / 285.1 MB, free: 4.789 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.02824, allocations: 0.7955 MB / 285.9 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.02826, allocations: 192 / 285.9 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.761e-05/0.02834, allocations: 32.38 kB / 285.9 MB, free: 3.945 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.02836, allocations: 19.94 kB / 285.9 MB, free: 3.926 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.02979, allocations: 0.6649 MB / 286.6 MB, free: 3.262 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004451/0.03425, allocations: 2.235 MB / 288.8 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001976/0.03622, allocations: 0.8155 MB / 289.7 MB, free: 104 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0931/0.1293, allocations: 287.2 kB / 289.9 MB, free: 28.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/0.1295, allocations: 32.39 kB / 290 MB, free: 28.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.1295, allocations: 42.98 kB / 290 MB, free: 28.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.425e-06/0.1295, allocations: 0 / 290 MB, free: 28.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.0025/0.132, allocations: 1.009 MB / 291 MB, free: 28.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.132, allocations: 116.5 kB / 291.1 MB, free: 27.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.1323, allocations: 260.3 kB / 291.4 MB, free: 27.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.1323, allocations: 37.67 kB / 291.4 MB, free: 27.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.1324, allocations: 307.9 kB / 291.7 MB, free: 27.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.1325, allocations: 255.3 kB / 292 MB, free: 27.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.1327, allocations: 140.9 kB / 292.1 MB, free: 27.42 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.942e-05/0.1328, allocations: 349 kB / 292.5 MB, free: 27.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004705/0.1333, allocations: 231.3 kB / 292.7 MB, free: 27.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005269/0.1338, allocations: 412.7 kB / 293.1 MB, free: 26.74 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009965/0.1348, allocations: 0.638 MB / 293.7 MB, free: 26.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.1348, allocations: 1.125 kB / 293.7 MB, free: 26.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001569/0.1364, allocations: 0.8595 MB / 294.6 MB, free: 26.01 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1364, allocations: 7.688 kB / 294.6 MB, free: 26.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.1364, allocations: 3.312 kB / 294.6 MB, free: 26.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008244/0.1372, allocations: 176.9 kB / 294.8 MB, free: 25.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006448/0.1379, allocations: 163.5 kB / 294.9 MB, free: 25.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/0.1404, allocations: 3.537 MB / 298.5 MB, free: 22.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005298/0.1409, allocations: 90.38 kB / 298.6 MB, free: 22.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.608e-05/0.141, allocations: 31.66 kB / 298.6 MB, free: 22.78 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * 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: 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,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002347/0.1412, allocations: 192.1 kB / 298.8 MB, free: 22.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.1413, allocations: 68.84 kB / 298.8 MB, free: 22.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.1428, allocations: 0.731 MB / 299.6 MB, free: 22.26 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.1428, allocations: 13.19 kB / 299.6 MB, free: 22.26 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.1429, allocations: 3.422 kB / 299.6 MB, free: 22.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.1429, allocations: 4.531 kB / 299.6 MB, free: 22.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.1451, allocations: 1.302 MB / 300.9 MB, free: 21.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.1451, allocations: 1.656 kB / 300.9 MB, free: 21.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000509/0.1456, allocations: 110.5 kB / 301 MB, free: 21.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007152/0.1463, allocations: 161.2 kB / 301.2 MB, free: 21.53 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.271e-05/0.1463, allocations: 22.14 kB / 301.2 MB, free: 21.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/0.1484, allocations: 3.08 MB / 304.3 MB, free: 18.74 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1484, allocations: 5.281 kB / 304.3 MB, free: 18.74 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.1502, allocations: 1.143 MB / 305.4 MB, free: 18.14 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.881e-05/0.1503, allocations: 54 kB / 305.5 MB, free: 18.1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.1504, allocations: 12.12 kB / 305.5 MB, free: 18.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.1508, allocations: 30.89 kB / 305.5 MB, free: 18.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.1509, allocations: 52.84 kB / 305.6 MB, free: 18.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.986e-05/0.1509, allocations: 20.52 kB / 305.6 MB, free: 18.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001641/0.1511, allocations: 180.9 kB / 305.8 MB, free: 17.97 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1511, allocations: 0 / 305.8 MB, free: 17.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008455/0.1519, allocations: 228.6 kB / 306 MB, free: 17.91 MB / 266.7 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 (60): * Single equations (assignments): 58 * 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,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002382/0.1522, allocations: 145.4 kB / 306.1 MB, free: 17.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001458/0.1536, allocations: 0.8508 MB / 307 MB, free: 17.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1536, allocations: 0 / 307 MB, free: 17.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006707/0.1543, allocations: 0.5356 MB / 307.5 MB, free: 17 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.1548, allocations: 50.89 kB / 307.6 MB, free: 16.97 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.1565, allocations: 1.063 MB / 308.6 MB, free: 16.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.1568, allocations: 267.2 kB / 308.9 MB, free: 16.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002792/0.157, allocations: 87.39 kB / 309 MB, free: 16.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.1572, allocations: 46.56 kB / 309 MB, free: 16.24 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1572, allocations: 0 / 309 MB, free: 16.24 MB / 266.7 MB Notification: Performance of Templates: time 0.0104/0.1676, allocations: 6.195 MB / 315.2 MB, free: 11.14 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.7013186030089855]