Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002479/0.002479, allocations: 186.4 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.568/3.568, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001763/0.001762, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000645/0.0006453, allocations: 8 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1541, allocations: 47.59 MB / 374.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.01039/0.1646, allocations: 3.404 MB / 378 MB, free: 12 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00663/0.1713, allocations: 1.551 MB / 379.5 MB, free: 10.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007258/0.1721, allocations: 16 kB / 379.5 MB, free: 10.42 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.1734, allocations: 167 kB / 379.7 MB, free: 10.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001861/0.1754, allocations: 239.3 kB / 379.9 MB, free: 10.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004068/0.1795, allocations: 0.631 MB / 380.6 MB, free: 9.387 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001978/0.1815, allocations: 451 kB / 381 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004086/0.1857, allocations: 0.8217 MB / 381.8 MB, free: 8.102 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.1867, allocations: 235.1 kB / 382 MB, free: 7.871 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00098/0.1878, allocations: 290.8 kB / 382.3 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001707/0.188, allocations: 28 kB / 382.4 MB, free: 7.559 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.1894, allocations: 215.7 kB / 382.6 MB, free: 7.348 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002256/0.1897, allocations: 103.6 kB / 382.7 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003662/0.1901, allocations: 133.4 kB / 382.8 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002344/0.1925, allocations: 0.6936 MB / 383.5 MB, free: 6.414 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1926, allocations: 0 / 383.5 MB, free: 6.414 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.656e-06/0.1926, allocations: 3.984 kB / 383.5 MB, free: 6.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.569e-05/0.1926, allocations: 0 / 383.5 MB, free: 6.41 MB / 282.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.009463/0.2021, allocations: 1.155 MB / 384.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.626e-05/0.2022, allocations: 8.031 kB / 384.7 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004022/0.2063, allocations: 211 kB / 384.9 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005496/0.2069, allocations: 238.1 kB / 385.1 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000172/0.2071, allocations: 58 kB / 385.2 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004258/0.2075, allocations: 75.98 kB / 385.2 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004086/0.2117, allocations: 0.7698 MB / 386 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.127e-05/0.2118, allocations: 8 kB / 386 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/0.212, allocations: 24 kB / 386 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-05/0.2121, allocations: 20 kB / 386.1 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004032/0.2161, allocations: 0.6767 MB / 386.7 MB, free: 3.066 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.403/0.6192, allocations: 3.123 MB / 389.9 MB, free: 19.44 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006694/0.626, allocations: 2.087 MB / 391.9 MB, free: 17.88 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003347/0.6264, allocations: 100.1 kB / 392 MB, free: 17.79 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.977e-05/0.6265, allocations: 39.72 kB / 392.1 MB, free: 17.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=72): time 6.042e-06/0.6265, allocations: 0 / 392.1 MB, free: 17.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=72): time 0.007909/0.6344, allocations: 1.15 MB / 393.2 MB, free: 17.49 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/0.6347, allocations: 111.7 kB / 393.3 MB, free: 17.37 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007686/0.6354, allocations: 274.6 kB / 393.6 MB, free: 17.26 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001886/0.6357, allocations: 35.27 kB / 393.6 MB, free: 17.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/0.6361, allocations: 363.8 kB / 394 MB, free: 16.97 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004913/0.6366, allocations: 248.3 kB / 394.2 MB, free: 16.81 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.97e-05/0.6367, allocations: 14.12 kB / 394.2 MB, free: 16.81 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.6369, allocations: 344.8 kB / 394.6 MB, free: 16.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/0.6387, allocations: 237.7 kB / 394.8 MB, free: 16.42 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/0.6407, allocations: 394.2 kB / 395.2 MB, free: 16.18 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001997/0.6428, allocations: 297 kB / 395.5 MB, free: 16.05 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.72e-05/0.6429, allocations: 0.8125 kB / 395.5 MB, free: 16.05 MB / 282.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.005278/0.6482, allocations: 0.8313 MB / 396.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.499e-05/0.6483, allocations: 11.55 kB / 396.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-05/0.6484, allocations: 3.188 kB / 396.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.6495, allocations: 118.4 kB / 396.5 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002301/0.6518, allocations: 165.3 kB / 396.6 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006318/0.6582, allocations: 3.161 MB / 399.8 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.6598, allocations: 90.14 kB / 399.9 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002007/0.6601, allocations: 41.22 kB / 399.9 MB, free: 12.66 MB / 282.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 (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006674/0.6608, allocations: 202.1 kB / 400.1 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002664/0.6611, allocations: 44.02 kB / 400.1 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004699/0.6658, allocations: 0.7591 MB / 400.9 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.243e-05/0.6659, allocations: 7.344 kB / 400.9 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.596e-05/0.666, allocations: 6.812 kB / 400.9 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.981e-05/0.666, allocations: 5 kB / 400.9 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00709/0.6731, allocations: 1.443 MB / 402.4 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.682e-05/0.6732, allocations: 4 kB / 402.4 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001799/0.6751, allocations: 115.9 kB / 402.5 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001002/0.6761, allocations: 111.9 kB / 402.6 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000206/0.6764, allocations: 20.31 kB / 402.6 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00611/0.6825, allocations: 3.151 MB / 405.8 MB, free: 8.359 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.6827, allocations: 1.938 kB / 405.8 MB, free: 8.359 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006444/0.6891, allocations: 1.162 MB / 406.9 MB, free: 7.746 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/0.6896, allocations: 129 kB / 407.1 MB, free: 7.617 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002428/0.6898, allocations: 11.2 kB / 407.1 MB, free: 7.609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.6911, allocations: 36.56 kB / 407.1 MB, free: 7.598 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004296/0.6916, allocations: 55.41 kB / 407.2 MB, free: 7.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.6918, allocations: 20.16 kB / 407.2 MB, free: 7.586 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005283/0.6923, allocations: 192 kB / 407.4 MB, free: 7.473 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.232e-06/0.6924, allocations: 0 / 407.4 MB, free: 7.473 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002116/0.6945, allocations: 213.9 kB / 407.6 MB, free: 7.422 MB / 282.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000632/0.6953, allocations: 154.2 kB / 407.7 MB, free: 7.297 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.004615/0.6999, allocations: 0.884 MB / 408.6 MB, free: 6.848 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/0.7, allocations: 1.844 kB / 408.6 MB, free: 6.848 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002206/0.7022, allocations: 0.5755 MB / 409.2 MB, free: 6.488 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000956/0.7033, allocations: 30.62 kB / 409.2 MB, free: 6.465 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006313/0.7096, allocations: 1.407 MB / 410.6 MB, free: 5.594 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008423/0.7105, allocations: 0.8755 MB / 411.5 MB, free: 4.887 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006412/0.7113, allocations: 58.03 kB / 411.6 MB, free: 4.871 MB / 282.7 MB Notification: Performance of SimCode: time 1.964e-06/0.7113, allocations: 0 / 411.6 MB, free: 4.871 MB / 282.7 MB Notification: Performance of Templates: time 0.03723/0.7486, allocations: 10.98 MB / 422.5 MB, free: 14.27 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches