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.001044/0.001044, allocations: 95.48 kB / 16.99 MB, free: 5.941 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.001019/0.001019, allocations: 180.9 kB / 17.87 MB, free: 5.609 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.38/1.38, allocations: 223.2 MB / 241.8 MB, free: 380 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.2266/0.2266, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003373, allocations: 8 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.146, allocations: 61.92 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01704/0.163, allocations: 17.41 MB / 488.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009521/0.1726, allocations: 4.174 MB / 493.1 MB, free: 8.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003213/0.1759, allocations: 79.88 kB / 493.2 MB, free: 7.941 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00291/0.1788, allocations: 0.8399 MB / 494 MB, free: 7.098 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008048/0.1869, allocations: 2.513 MB / 496.6 MB, free: 4.578 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005837/0.1875, allocations: 55.89 kB / 496.6 MB, free: 4.523 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005662/0.1881, allocations: 306.8 kB / 496.9 MB, free: 4.227 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.1892, allocations: 0.7278 MB / 497.6 MB, free: 3.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002637/0.1895, allocations: 155.3 kB / 497.8 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003087/0.1898, allocations: 195.2 kB / 498 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.75e-05/0.1899, allocations: 23.94 kB / 498 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.19, allocations: 43.97 kB / 498 MB, free: 3.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002103/0.1903, allocations: 243.3 kB / 498.3 MB, free: 2.832 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.1904, allocations: 149.2 kB / 498.4 MB, free: 2.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006008/0.191, allocations: 0.6897 MB / 499.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.191, allocations: 0 / 499.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.191, allocations: 0 / 499.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.191, allocations: 0 / 499.1 MB, free: 1.988 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.001355/0.1924, allocations: 0.8954 MB / 0.4883 GB, free: 1.043 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.1924, allocations: 8.031 kB / 0.4883 GB, free: 1.035 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001279/0.1926, allocations: 127.1 kB / 0.4884 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005937/0.1932, allocations: 154.8 kB / 0.4886 GB, free: 0.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006256/0.1938, allocations: 432.6 kB / 0.489 GB, free: 292 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.1938, allocations: 36.98 kB / 0.489 GB, free: 256 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.126e-05/0.1939, allocations: 43.94 kB / 0.4891 GB, free: 212 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.1954, allocations: 1.241 MB / 0.4903 GB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.1954, allocations: 11.88 kB / 0.4903 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.832e-05/0.1955, allocations: 23.98 kB / 0.4903 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003869/0.1959, allocations: 248.7 kB / 0.4905 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.197, allocations: 0.8154 MB / 0.4913 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004179/0.2012, allocations: 5.07 MB / 0.4963 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.2014, allocations: 62.53 kB / 0.4963 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.2014, allocations: 0 / 0.4963 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.2015, allocations: 34.64 kB / 0.4964 GB, free: 8.375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.2015, allocations: 0 / 0.4964 GB, free: 8.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.000491/0.202, allocations: 232.8 kB / 0.4966 GB, free: 8.141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.202, allocations: 51.41 kB / 0.4967 GB, free: 8.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008811/0.2029, allocations: 0.8516 MB / 0.4975 GB, free: 7.219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.2029, allocations: 29.7 kB / 0.4975 GB, free: 7.184 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/0.2033, allocations: 0.5321 MB / 0.498 GB, free: 6.641 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.2033, allocations: 31.8 kB / 0.4981 GB, free: 6.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/0.2033, allocations: 16 kB / 0.4981 GB, free: 6.594 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2035, allocations: 382.7 kB / 0.4984 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.2038, allocations: 177.9 kB / 0.4986 GB, free: 6.035 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006368/0.2044, allocations: 0.7428 MB / 0.4993 GB, free: 5.012 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004507/0.2049, allocations: 343.6 kB / 0.4997 GB, free: 4.676 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.2049, allocations: 8 kB / 0.4997 GB, free: 4.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00124/0.2061, allocations: 0.8757 MB / 0.5005 GB, free: 3.785 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.2062, allocations: 15.94 kB / 0.5005 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.2062, allocations: 20 kB / 0.5006 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.981e-05/0.2062, allocations: 28.75 kB / 0.5006 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004962/0.2067, allocations: 183.7 kB / 0.5008 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.983e-05/0.2068, allocations: 39.86 kB / 0.5008 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005246/0.2073, allocations: 122.8 kB / 0.5009 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.755e-05/0.2074, allocations: 48 kB / 0.501 GB, free: 3.336 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.0004159/0.2078, allocations: 388.2 kB / 0.5013 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.388e-05/0.2079, allocations: 67.34 kB / 0.5014 GB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.944e-05/0.208, allocations: 69.38 kB / 0.5015 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.208, allocations: 0 / 0.5015 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.208, allocations: 3.984 kB / 0.5015 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.208, allocations: 4 kB / 0.5015 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006062/0.2086, allocations: 0.5481 MB / 0.502 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.2086, allocations: 0 / 0.502 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.136e-05/0.2087, allocations: 15.98 kB / 0.502 GB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2087, allocations: 0 / 0.502 GB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.2088, allocations: 4 kB / 0.502 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2088, allocations: 0 / 0.502 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2088, allocations: 0 / 0.502 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.2092, allocations: 290.6 kB / 0.5023 GB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.2093, allocations: 148.1 kB / 0.5024 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.862e-05/0.2094, allocations: 0 / 0.5024 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.2096, allocations: 8 kB / 0.5025 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.2096, allocations: 15.97 kB / 0.5025 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.2096, allocations: 4 kB / 0.5025 GB, free: 1.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005798/0.2102, allocations: 0.5419 MB / 0.503 GB, free: 1.145 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2102, allocations: 4 kB / 0.503 GB, free: 1.141 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000638/0.2109, allocations: 151.6 kB / 0.5032 GB, free: 0.9922 MB / 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.0006268/0.2115, allocations: 0.8131 MB / 0.5039 GB, free: 152 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.219/0.4305, allocations: 426.8 kB / 0.5044 GB, free: 51.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/0.4306, allocations: 1.688 kB / 0.5044 GB, free: 51.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.4308, allocations: 58.19 kB / 0.5044 GB, free: 51.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000898/0.4317, allocations: 89.42 kB / 0.5045 GB, free: 51.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/0.4433, allocations: 17.93 MB / 0.522 GB, free: 35.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007672/0.4442, allocations: 1.042 MB / 0.523 GB, free: 34.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006739/0.4448, allocations: 207 kB / 0.5232 GB, free: 34.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003011/0.4451, allocations: 263.2 kB / 0.5235 GB, free: 34.78 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4452, allocations: 0 / 0.5235 GB, free: 34.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/0.4767, allocations: 11.2 MB / 0.5344 GB, free: 31.26 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/0.4769, allocations: 175.9 kB / 0.5346 GB, free: 31.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.931/2.408, allocations: 0 / 0.5346 GB, free: 31.03 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