Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 77.97 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 168.8 kB / 24.82 MB, free: 9.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9237/0.9237, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1e-05/1.259e-05, allocations: 5.266 kB / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003492/0.003505, allocations: 4.206 MB / 277.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.005452, allocations: 1.662 MB / 279.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.005606, allocations: 12 kB / 279.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.006792, allocations: 1.057 MB / 280.3 MB, free: 10.33 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003815/0.007173, allocations: 273.9 kB / 280.6 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008207/0.007994, allocations: 0.7238 MB / 281.3 MB, free: 9.332 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004063/0.0084, allocations: 0.6607 MB / 282 MB, free: 8.668 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004658/0.008866, allocations: 457.4 kB / 282.4 MB, free: 8.215 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003315/0.009198, allocations: 407 kB / 282.8 MB, free: 7.816 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.009433, allocations: 279.2 kB / 283.1 MB, free: 7.543 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.474e-05/0.009488, allocations: 56 kB / 283.2 MB, free: 7.488 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003187/0.009807, allocations: 283.5 kB / 283.4 MB, free: 7.211 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.851e-05/0.009875, allocations: 143.4 kB / 283.6 MB, free: 7.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.01001, allocations: 223.4 kB / 283.8 MB, free: 6.852 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005628/0.01057, allocations: 0.7045 MB / 284.5 MB, free: 6.145 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.01057, allocations: 4 kB / 284.5 MB, free: 6.141 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.01057, allocations: 0 / 284.5 MB, free: 6.141 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.01058, allocations: 0 / 284.5 MB, free: 6.141 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.001826/0.01241, allocations: 1.327 MB / 285.8 MB, free: 4.777 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.01244, allocations: 8.031 kB / 285.8 MB, free: 4.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007947/0.01323, allocations: 339.9 kB / 286.2 MB, free: 4.438 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.01334, allocations: 184.5 kB / 286.4 MB, free: 4.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.01337, allocations: 58.38 kB / 286.4 MB, free: 4.172 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.052e-05/0.01344, allocations: 72.38 kB / 286.5 MB, free: 4.102 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005533/0.014, allocations: 0.5818 MB / 287.1 MB, free: 3.496 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.01402, allocations: 4.172 kB / 287.1 MB, free: 3.492 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.847e-05/0.01405, allocations: 32.38 kB / 287.1 MB, free: 3.461 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.01407, allocations: 23.88 kB / 287.1 MB, free: 3.438 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.01438, allocations: 277.5 kB / 287.4 MB, free: 3.164 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.01643, allocations: 2.241 MB / 289.6 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007769/0.01721, allocations: 0.6789 MB / 290.3 MB, free: 128 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1026/0.1198, allocations: 176 kB / 290.5 MB, free: 20.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001413/0.12, allocations: 39.3 kB / 290.5 MB, free: 20.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.12, allocations: 42.67 kB / 290.6 MB, free: 20.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.756e-06/0.12, allocations: 0 / 290.6 MB, free: 20.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.001236/0.1212, allocations: 0.6578 MB / 291.2 MB, free: 20.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.1212, allocations: 113.3 kB / 291.3 MB, free: 20.44 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.1214, allocations: 303.6 kB / 291.6 MB, free: 20.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.1215, allocations: 41.58 kB / 291.7 MB, free: 20.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.1216, allocations: 358.9 kB / 292 MB, free: 20.03 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.1217, allocations: 264.4 kB / 292.3 MB, free: 19.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.1218, allocations: 148.8 kB / 292.4 MB, free: 19.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.818e-05/0.1219, allocations: 0.5263 MB / 293 MB, free: 19.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.122, allocations: 91.62 kB / 293 MB, free: 19.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.1222, allocations: 331.5 kB / 293.4 MB, free: 19.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003542/0.1226, allocations: 447.5 kB / 293.8 MB, free: 18.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.1226, allocations: 2.859 kB / 293.8 MB, free: 18.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.000646/0.1232, allocations: 0.5865 MB / 294.4 MB, free: 18.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1232, allocations: 8.594 kB / 294.4 MB, free: 18.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.1232, allocations: 3.406 kB / 294.4 MB, free: 18.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003966/0.1236, allocations: 169.2 kB / 294.6 MB, free: 18.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.124, allocations: 150.3 kB / 294.7 MB, free: 18.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.1255, allocations: 4.377 MB / 299.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.1257, allocations: 83.19 kB / 299.2 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.1258, allocations: 22.44 kB / 299.2 MB, free: 14.87 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.0001194/0.1259, allocations: 207.3 kB / 299.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.529e-05/0.126, allocations: 62.44 kB / 299.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005898/0.1265, allocations: 0.5056 MB / 300 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1265, allocations: 7 kB / 300 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.1266, allocations: 4.906 kB / 300 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.1266, allocations: 11.5 kB / 300 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.1277, allocations: 1.03 MB / 301 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1277, allocations: 1.5 kB / 301 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.1279, allocations: 107.6 kB / 301.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003235/0.1282, allocations: 147.6 kB / 301.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.1283, allocations: 18.25 kB / 301.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.1293, allocations: 3.798 MB / 305.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1293, allocations: 0 / 305.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006819/0.13, allocations: 0.8198 MB / 305.9 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.1301, allocations: 52.03 kB / 306 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.1301, allocations: 15.39 kB / 306 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.1302, allocations: 24.88 kB / 306 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.1303, allocations: 55.36 kB / 306 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.1304, allocations: 13.09 kB / 306.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.975e-05/0.1304, allocations: 202.5 kB / 306.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1304, allocations: 5.016 kB / 306.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005379/0.131, allocations: 215.8 kB / 306.5 MB, free: 10.26 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.000175/0.1312, allocations: 160.1 kB / 306.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006285/0.1318, allocations: 0.7564 MB / 307.4 MB, free: 9.773 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1318, allocations: 0 / 307.4 MB, free: 9.773 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.1321, allocations: 0.5667 MB / 308 MB, free: 9.402 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.1324, allocations: 42.33 kB / 308 MB, free: 9.398 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.1336, allocations: 0.9821 MB / 309 MB, free: 8.934 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.799e-05/0.1337, allocations: 135.6 kB / 309.1 MB, free: 8.855 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001925/0.1339, allocations: 80.86 kB / 309.2 MB, free: 8.828 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.1341, allocations: 142.3 kB / 309.3 MB, free: 8.762 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.1341, allocations: 0 / 309.3 MB, free: 8.762 MB / 266.7 MB Notification: Performance of Templates: time 0.008513/0.1426, allocations: 6.87 MB / 316.2 MB, free: 6.488 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",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.7640760033391416]