Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001575, allocations: 113.3 kB / 17.28 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 189.3 kB / 18.19 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.1 MB / 224 MB, free: 12.43 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001166, allocations: 52.14 kB / 280.2 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09455/0.09572, allocations: 46.63 MB / 326.8 MB, free: 4.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005605/0.1014, allocations: 4.277 MB / 331.1 MB, free: 472 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002775/0.1042, allocations: 1.655 MB / 332.7 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002097/0.1045, allocations: 12 kB / 332.8 MB, free: 14.78 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002126/0.1066, allocations: 0.9536 MB / 333.7 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005767/0.1072, allocations: 218.6 kB / 333.9 MB, free: 13.61 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.1086, allocations: 0.7477 MB / 334.7 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006096/0.1092, allocations: 0.6338 MB / 335.3 MB, free: 12.22 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008088/0.11, allocations: 0.5796 MB / 335.9 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003382/0.1104, allocations: 274.9 kB / 336.1 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003797/0.1108, allocations: 358.6 kB / 336.5 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.524e-05/0.1108, allocations: 56 kB / 336.6 MB, free: 10.97 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005201/0.1114, allocations: 271.7 kB / 336.8 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.524e-05/0.1115, allocations: 135.5 kB / 336.9 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002701/0.1117, allocations: 338.3 kB / 337.3 MB, free: 10.24 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009304/0.1127, allocations: 0.9384 MB / 338.2 MB, free: 9.297 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1127, allocations: 4 kB / 338.2 MB, free: 9.293 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1127, allocations: 0 / 338.2 MB, free: 9.293 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.1127, allocations: 0 / 338.2 MB, free: 9.293 MB / 286.1 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.003594/0.1163, allocations: 1.253 MB / 339.5 MB, free: 7.988 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.1164, allocations: 12.03 kB / 339.5 MB, free: 7.977 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.1178, allocations: 211.9 kB / 339.7 MB, free: 7.77 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.118, allocations: 239.5 kB / 339.9 MB, free: 7.496 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.155e-05/0.1181, allocations: 54.38 kB / 340 MB, free: 7.445 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.1182, allocations: 72.38 kB / 340.1 MB, free: 7.375 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.1196, allocations: 0.7702 MB / 340.8 MB, free: 6.586 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.1196, allocations: 8 kB / 340.8 MB, free: 6.578 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.3e-05/0.1197, allocations: 31.94 kB / 340.9 MB, free: 6.547 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.1197, allocations: 20 kB / 340.9 MB, free: 6.527 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.121, allocations: 0.6688 MB / 341.5 MB, free: 5.855 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004234/0.1252, allocations: 3.11 MB / 344.7 MB, free: 2.477 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002328/0.1276, allocations: 2.078 MB / 346.7 MB, free: 104 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006281/0.1282, allocations: 315.6 kB / 347 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001575/0.1284, allocations: 101.7 kB / 347.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.1284, allocations: 43.22 kB / 347.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.514e-06/0.1284, allocations: 0 / 347.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002539/0.131, allocations: 1.142 MB / 348.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/0.1311, allocations: 111.5 kB / 348.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.1314, allocations: 274.5 kB / 348.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.1314, allocations: 37.7 kB / 348.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.1316, allocations: 295.4 kB / 349 MB, free: 13.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.1318, allocations: 244.4 kB / 349.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.132, allocations: 138.6 kB / 349.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1321, allocations: 362.7 kB / 349.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004786/0.1326, allocations: 225.9 kB / 350 MB, free: 12.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005837/0.1332, allocations: 390.5 kB / 350.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.1343, allocations: 0.6337 MB / 351 MB, free: 11.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1343, allocations: 7.938 kB / 351 MB, free: 11.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001561/0.1358, allocations: 0.8267 MB / 351.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.1359, allocations: 8 kB / 351.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.1359, allocations: 4 kB / 351.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004044/0.1363, allocations: 121.7 kB / 352 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006282/0.1369, allocations: 163.7 kB / 352.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003335/0.1403, allocations: 3.793 MB / 355.9 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005289/0.1408, allocations: 91.22 kB / 356 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.413e-05/0.1409, allocations: 35.98 kB / 356 MB, free: 6.25 MB / 302.1 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.0002738/0.1412, allocations: 197.6 kB / 356.2 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-05/0.1413, allocations: 39.53 kB / 356.3 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/0.1428, allocations: 0.7491 MB / 357 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.1428, allocations: 11.98 kB / 357 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1429, allocations: 3.938 kB / 357 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.1429, allocations: 7.984 kB / 357 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/0.1452, allocations: 1.497 MB / 358.5 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.1453, allocations: 7.938 kB / 358.5 MB, free: 3.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005094/0.1458, allocations: 107.9 kB / 358.7 MB, free: 3.551 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002887/0.1461, allocations: 109.6 kB / 358.8 MB, free: 3.438 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-05/0.1461, allocations: 16 kB / 358.8 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002721/0.1489, allocations: 3.341 MB / 362.1 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.1489, allocations: 4.031 kB / 362.1 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/0.1508, allocations: 1.12 MB / 363.2 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.1509, allocations: 136.5 kB / 363.4 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-05/0.151, allocations: 15.91 kB / 363.4 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.1514, allocations: 28.05 kB / 363.4 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.1515, allocations: 56.52 kB / 363.5 MB, free: 14.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/0.1515, allocations: 23.98 kB / 363.5 MB, free: 14.37 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001807/0.1517, allocations: 190 kB / 363.7 MB, free: 14.19 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1517, allocations: 0 / 363.7 MB, free: 14.19 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007747/0.1525, allocations: 215.5 kB / 363.9 MB, free: 13.98 MB / 318.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 (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.0002404/0.1528, allocations: 135.2 kB / 364 MB, free: 13.84 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001896/0.1547, allocations: 0.9153 MB / 364.9 MB, free: 12.9 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1547, allocations: 0 / 364.9 MB, free: 12.9 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000792/0.1555, allocations: 0.5672 MB / 365.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005259/0.156, allocations: 40.44 kB / 365.5 MB, free: 12.27 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/0.1584, allocations: 1.398 MB / 366.9 MB, free: 10.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005346/0.159, allocations: 0.8616 MB / 367.8 MB, free: 9.953 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004138/0.1594, allocations: 84.36 kB / 367.9 MB, free: 9.867 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.1596, allocations: 47.42 kB / 367.9 MB, free: 9.82 MB / 318.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1596, allocations: 0 / 367.9 MB, free: 9.82 MB / 318.1 MB Notification: Performance of Templates: time 0.0115/0.1711, allocations: 6.094 MB / 374 MB, free: 3.727 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches