Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008939/0.000894, allocations: 97.11 kB / 17 MB, free: 6.477 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.0007884/0.000789, allocations: 185.7 kB / 17.89 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.2 MB / 241.9 MB, free: 364 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2096/0.2096, allocations: 44.22 MB / 337.2 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003283, allocations: 8 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1376, allocations: 61.91 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01883/0.1565, allocations: 18.34 MB / 490 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.1669, allocations: 4.021 MB / 494 MB, free: 7.215 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002643/0.1696, allocations: 79.81 kB / 494.1 MB, free: 7.137 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001735/0.1713, allocations: 0.7853 MB / 494.9 MB, free: 6.348 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004552/0.1759, allocations: 2.222 MB / 497.1 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.1762, allocations: 47.94 kB / 497.1 MB, free: 4.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006261/0.1769, allocations: 0.5677 MB / 497.7 MB, free: 3.504 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.178, allocations: 0.7277 MB / 498.4 MB, free: 2.758 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002571/0.1782, allocations: 183.1 kB / 498.6 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003736/0.1786, allocations: 270.9 kB / 498.9 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.215e-05/0.1787, allocations: 20 kB / 498.9 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.1788, allocations: 59.89 kB / 499 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002319/0.1791, allocations: 251.2 kB / 499.2 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.1792, allocations: 157.2 kB / 499.3 MB, free: 1.828 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006133/0.1798, allocations: 0.6897 MB / 0.4883 GB, free: 1.137 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1798, allocations: 0 / 0.4883 GB, free: 1.137 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1798, allocations: 0 / 0.4883 GB, free: 1.137 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.1798, allocations: 4 kB / 0.4883 GB, free: 1.133 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001238/0.1811, allocations: 0.886 MB / 0.4892 GB, free: 204 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1811, allocations: 8.031 kB / 0.4892 GB, free: 196 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000117/0.1813, allocations: 123.1 kB / 0.4893 GB, free: 64 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004791/0.1817, allocations: 142.8 kB / 0.4894 GB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005136/0.1823, allocations: 432.6 kB / 0.4899 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.1823, allocations: 32.98 kB / 0.4899 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.819e-05/0.1824, allocations: 51.86 kB / 0.4899 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.1838, allocations: 1.249 MB / 0.4912 GB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.1838, allocations: 7.938 kB / 0.4912 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.44e-05/0.1839, allocations: 19.98 kB / 0.4912 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003371/0.1842, allocations: 240.8 kB / 0.4914 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.1854, allocations: 0.8193 MB / 0.4922 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003757/0.1891, allocations: 5.077 MB / 0.4972 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.1893, allocations: 66.56 kB / 0.4972 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.1894, allocations: 52.91 kB / 0.4973 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.1894, allocations: 3.984 kB / 0.4973 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.1895, allocations: 34.56 kB / 0.4973 GB, free: 7.477 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.1895, allocations: 4 kB / 0.4973 GB, free: 7.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004721/0.1899, allocations: 220.8 kB / 0.4975 GB, free: 7.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.19, allocations: 63.33 kB / 0.4976 GB, free: 7.176 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009046/0.1909, allocations: 0.8477 MB / 0.4984 GB, free: 6.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.1909, allocations: 25.7 kB / 0.4985 GB, free: 6.289 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003858/0.1913, allocations: 0.5399 MB / 0.499 GB, free: 5.738 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.1914, allocations: 27.8 kB / 0.499 GB, free: 5.711 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/0.1914, allocations: 12 kB / 0.499 GB, free: 5.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1915, allocations: 382.7 kB / 0.4994 GB, free: 5.316 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/0.1918, allocations: 189.8 kB / 0.4996 GB, free: 5.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006349/0.1925, allocations: 0.7351 MB / 0.5003 GB, free: 4.113 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004699/0.1929, allocations: 339.6 kB / 0.5006 GB, free: 3.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.193, allocations: 8 kB / 0.5006 GB, free: 3.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001244/0.1942, allocations: 0.88 MB / 0.5015 GB, free: 2.887 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.1942, allocations: 16 kB / 0.5015 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/0.1943, allocations: 20 kB / 0.5015 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.046e-05/0.1943, allocations: 28 kB / 0.5015 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004652/0.1948, allocations: 187.5 kB / 0.5017 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.359e-05/0.1948, allocations: 39.86 kB / 0.5018 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004694/0.1953, allocations: 123.1 kB / 0.5019 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/0.1954, allocations: 51.94 kB / 0.5019 GB, free: 2.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 92 * Number of states: 0 () * Number of discrete variables: 25 (fixedArrow.arrowLine.twoHeadedArrow,fixedArrow.headAtOrigin,arrow.arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.color[3],arrow.color[2],arrow.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004303/0.1958, allocations: 392.5 kB / 0.5023 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.37e-05/0.1959, allocations: 63.16 kB / 0.5024 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.861e-05/0.196, allocations: 65.44 kB / 0.5024 GB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.196, allocations: 0 / 0.5024 GB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.196, allocations: 4 kB / 0.5024 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.196, allocations: 0 / 0.5024 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006451/0.1967, allocations: 0.552 MB / 0.503 GB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.1967, allocations: 0 / 0.503 GB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.894e-05/0.1968, allocations: 15.92 kB / 0.503 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1968, allocations: 4 kB / 0.503 GB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1968, allocations: 3.984 kB / 0.503 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1968, allocations: 0 / 0.503 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1968, allocations: 0 / 0.503 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003755/0.1972, allocations: 278.7 kB / 0.5032 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.1974, allocations: 148.2 kB / 0.5034 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.426e-05/0.1974, allocations: 0 / 0.5034 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.1976, allocations: 15.98 kB / 0.5034 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.1977, allocations: 7.984 kB / 0.5034 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.1977, allocations: 8 kB / 0.5034 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006437/0.1983, allocations: 0.5458 MB / 0.504 GB, free: 248 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1983, allocations: 0 / 0.504 GB, free: 248 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.00065/0.199, allocations: 155.5 kB / 0.5041 GB, free: 92 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2695/0.4685, allocations: 0.8104 MB / 0.5049 GB, free: 50.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009878/0.4696, allocations: 430.2 kB / 0.5053 GB, free: 50 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4696, allocations: 0 / 0.5053 GB, free: 50 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.4697, allocations: 52.33 kB / 0.5054 GB, free: 50 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006988/0.4704, allocations: 93.95 kB / 0.5054 GB, free: 50 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006869/0.4773, allocations: 4.235 MB / 0.5096 GB, free: 48.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000671/0.478, allocations: 1.036 MB / 0.5106 GB, free: 47.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007/0.4787, allocations: 210.2 kB / 0.5108 GB, free: 47.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.479, allocations: 256 kB / 0.511 GB, free: 47.23 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.479, allocations: 3.938 kB / 0.511 GB, free: 47.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0272/0.5062, allocations: 11.22 MB / 0.522 GB, free: 43.79 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/0.5065, allocations: 176.9 kB / 0.5222 GB, free: 43.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.088/2.594, allocations: 4 kB / 0.5222 GB, free: 43.55 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat does not exist to compare? outputFormat=mat