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.001585/0.001585, allocations: 177.5 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0007096/0.0007097, allocations: 89.06 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002661/0.0002661, allocations: 8 kB / 327 MB, free: 172 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1828, allocations: 47.57 MB / 374.6 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003111/0.186, allocations: 3.63 MB / 378.2 MB, free: 42.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.1878, allocations: 1.541 MB / 379.7 MB, free: 41.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.188, allocations: 16.22 kB / 379.8 MB, free: 41.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.1883, allocations: 163.7 kB / 379.9 MB, free: 41.22 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003734/0.1887, allocations: 211.7 kB / 380.1 MB, free: 41.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.1897, allocations: 0.6391 MB / 380.8 MB, free: 40.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00042/0.1902, allocations: 0.5823 MB / 381.3 MB, free: 40.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.1913, allocations: 0.8391 MB / 382.2 MB, free: 39.6 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002604/0.1916, allocations: 235 kB / 382.4 MB, free: 39.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/0.1919, allocations: 306.1 kB / 382.7 MB, free: 39.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.643e-05/0.192, allocations: 27.97 kB / 382.7 MB, free: 39.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003851/0.1924, allocations: 231.7 kB / 383 MB, free: 39.2 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.889e-05/0.1924, allocations: 106.4 kB / 383.1 MB, free: 39.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.412e-05/0.1925, allocations: 139.4 kB / 383.2 MB, free: 39.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005013/0.193, allocations: 0.7077 MB / 383.9 MB, free: 38.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.193, allocations: 0 / 383.9 MB, free: 38.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1931, allocations: 0 / 383.9 MB, free: 38.49 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1931, allocations: 0 / 383.9 MB, free: 38.49 MB / 298.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.003125/0.1962, allocations: 1.154 MB / 385.1 MB, free: 37.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.1962, allocations: 9.125 kB / 385.1 MB, free: 37.65 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.1976, allocations: 212.7 kB / 385.3 MB, free: 37.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.1977, allocations: 244.6 kB / 385.5 MB, free: 37.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.19e-05/0.1978, allocations: 55.06 kB / 385.6 MB, free: 37.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-05/0.1979, allocations: 72.31 kB / 385.6 MB, free: 37.24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.1991, allocations: 0.7707 MB / 386.4 MB, free: 36.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.1992, allocations: 0 / 386.4 MB, free: 36.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.243e-05/0.1992, allocations: 31.38 kB / 386.4 MB, free: 36.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.1993, allocations: 21.34 kB / 386.5 MB, free: 36.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.2004, allocations: 0.6829 MB / 387.2 MB, free: 36.1 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003058/0.2035, allocations: 3.122 MB / 390.3 MB, free: 32.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.2052, allocations: 2.087 MB / 392.4 MB, free: 30.33 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005353/0.2057, allocations: 328.2 kB / 392.7 MB, free: 30.01 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.522e-05/0.2058, allocations: 106 kB / 392.8 MB, free: 29.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.2058, allocations: 39.16 kB / 392.8 MB, free: 29.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 2.434e-06/0.2058, allocations: 0 / 392.8 MB, free: 29.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.002281/0.2081, allocations: 1.173 MB / 394 MB, free: 28.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.2082, allocations: 115.6 kB / 394.1 MB, free: 28.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.2084, allocations: 270.5 kB / 394.4 MB, free: 28.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.2084, allocations: 41.64 kB / 394.4 MB, free: 28.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.916e-05/0.2085, allocations: 295.4 kB / 394.7 MB, free: 27.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.2086, allocations: 240.5 kB / 394.9 MB, free: 27.62 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.2086, allocations: 20 kB / 395 MB, free: 27.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.262e-05/0.2087, allocations: 354.8 kB / 395.3 MB, free: 27.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004515/0.2092, allocations: 237.9 kB / 395.5 MB, free: 27.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/0.2097, allocations: 390.3 kB / 395.9 MB, free: 26.58 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004984/0.2102, allocations: 290.9 kB / 396.2 MB, free: 26.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2102, allocations: 4 kB / 396.2 MB, free: 26.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001315/0.2115, allocations: 0.8462 MB / 397.1 MB, free: 25.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2115, allocations: 5.562 kB / 397.1 MB, free: 25.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.2116, allocations: 15.88 kB / 397.1 MB, free: 25.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000337/0.2119, allocations: 129.7 kB / 397.2 MB, free: 25.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/0.2125, allocations: 159.8 kB / 397.4 MB, free: 25.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002007/0.2145, allocations: 3.404 MB / 400.8 MB, free: 21.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004843/0.215, allocations: 103.2 kB / 400.9 MB, free: 21.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/0.2151, allocations: 31.98 kB / 400.9 MB, free: 21.32 MB / 298.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 (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%) 7,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001955/0.2153, allocations: 197.7 kB / 401.1 MB, free: 21.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-05/0.2154, allocations: 47.38 kB / 401.1 MB, free: 21.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.2167, allocations: 0.7687 MB / 401.9 MB, free: 20.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.2167, allocations: 8 kB / 401.9 MB, free: 20.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2167, allocations: 0 / 401.9 MB, free: 20.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.2167, allocations: 3.984 kB / 401.9 MB, free: 20.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/0.2187, allocations: 1.509 MB / 403.4 MB, free: 18.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2187, allocations: 3.953 kB / 403.4 MB, free: 18.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004712/0.2192, allocations: 119.9 kB / 403.5 MB, free: 18.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002397/0.2194, allocations: 114 kB / 403.7 MB, free: 18.47 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.2195, allocations: 19.98 kB / 403.7 MB, free: 18.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/0.2211, allocations: 3.097 MB / 406.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.2211, allocations: 7.938 kB / 406.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.2227, allocations: 1.152 MB / 407.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.797e-05/0.2228, allocations: 120.4 kB / 408 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.116e-05/0.2228, allocations: 12 kB / 408.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/0.2232, allocations: 35.97 kB / 408.1 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.092e-05/0.2233, allocations: 52.56 kB / 408.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.2233, allocations: 32.02 kB / 408.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001297/0.2235, allocations: 193.9 kB / 408.4 MB, free: 13.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2235, allocations: 0 / 408.4 MB, free: 13.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006605/0.2242, allocations: 215.5 kB / 408.6 MB, free: 13.23 MB / 298.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.0001776/0.2243, allocations: 147.2 kB / 408.7 MB, free: 13.08 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.2256, allocations: 0.8953 MB / 409.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2256, allocations: 0 / 409.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000638/0.2263, allocations: 0.572 MB / 410.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.2267, allocations: 36.56 kB / 410.2 MB, free: 11.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.2284, allocations: 1.408 MB / 411.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.2286, allocations: 0.8694 MB / 412.5 MB, free: 9.199 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.2288, allocations: 59.34 kB / 412.6 MB, free: 9.141 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2288, allocations: 0 / 412.6 MB, free: 9.141 MB / 298.7 MB Notification: Performance of Templates: time 0.009877/0.2387, allocations: 11.41 MB / 424 MB, free: 13.73 MB / 314.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/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_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches