Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001428/0.001428, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001687/0.001687, allocations: 212.7 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 230.5 MB / 258.2 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2463/0.2463, allocations: 46.93 MB / 361.6 MB, free: 3.902 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002728/0.002728, allocations: 75.88 kB / 0.4969 GB, free: 7.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3743, allocations: 66.09 MB / 0.5615 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008462/0.3828, allocations: 5.565 MB / 0.5669 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004786/0.3876, allocations: 1.869 MB / 0.5687 GB, free: 12.51 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009163/0.3885, allocations: 27.94 kB / 0.5687 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001715/0.3902, allocations: 0.5956 MB / 0.5693 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000775/0.391, allocations: 198.9 kB / 0.5695 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.3913, allocations: 59.81 kB / 0.5696 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006832/0.392, allocations: 414.2 kB / 0.57 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006928/0.3927, allocations: 423 kB / 0.5704 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004973/0.3932, allocations: 235 kB / 0.5706 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006266/0.3938, allocations: 298.9 kB / 0.5709 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.3939, allocations: 36 kB / 0.5709 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002665/0.3942, allocations: 83.89 kB / 0.571 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000333/0.3945, allocations: 279.1 kB / 0.5713 GB, free: 9.891 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002972/0.3948, allocations: 234.5 kB / 0.5715 GB, free: 9.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.396, allocations: 0.8283 MB / 0.5723 GB, free: 8.828 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.396, allocations: 4 kB / 0.5723 GB, free: 8.824 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.396, allocations: 4 kB / 0.5723 GB, free: 8.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.108e-05/0.396, allocations: 0 / 0.5723 GB, free: 8.82 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.002002/0.398, allocations: 0.8896 MB / 0.5732 GB, free: 7.898 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.3981, allocations: 8.031 kB / 0.5732 GB, free: 7.891 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.478e-05/0.3981, allocations: 17.19 kB / 0.5732 GB, free: 7.871 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001511/0.3983, allocations: 110.7 kB / 0.5733 GB, free: 7.754 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008446/0.3991, allocations: 164.2 kB / 0.5735 GB, free: 7.594 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007792/0.3999, allocations: 392.1 kB / 0.5738 GB, free: 7.188 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.223e-05/0.3999, allocations: 33.11 kB / 0.5739 GB, free: 7.152 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.251e-05/0.4, allocations: 43.98 kB / 0.5739 GB, free: 7.109 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.4017, allocations: 1.07 MB / 0.575 GB, free: 5.926 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.4017, allocations: 7.938 kB / 0.575 GB, free: 5.918 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-05/0.4018, allocations: 23.98 kB / 0.575 GB, free: 5.895 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003749/0.4021, allocations: 192.4 kB / 0.5752 GB, free: 5.707 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.4035, allocations: 0.7165 MB / 0.5759 GB, free: 4.988 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005096/0.4086, allocations: 4.471 MB / 0.5802 GB, free: 352 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.4088, allocations: 58.53 kB / 0.5803 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.409, allocations: 44.91 kB / 0.5803 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.409, allocations: 7.984 kB / 0.5803 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.409, allocations: 30.56 kB / 0.5804 GB, free: 188 kB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 3.336e-06/0.409, allocations: 0 / 0.5804 GB, free: 188 kB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006739/0.4097, allocations: 217 kB / 0.5806 GB, free: 15.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.4097, allocations: 59.39 kB / 0.5806 GB, free: 15.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.4109, allocations: 0.8206 MB / 0.5814 GB, free: 15.06 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.4109, allocations: 25.7 kB / 0.5815 GB, free: 15.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004395/0.4114, allocations: 0.5179 MB / 0.582 GB, free: 14.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.4114, allocations: 23.89 kB / 0.582 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/0.4116, allocations: 174.5 kB / 0.5822 GB, free: 14.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.4118, allocations: 378.8 kB / 0.5825 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/0.4122, allocations: 173.9 kB / 0.5827 GB, free: 13.76 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008475/0.413, allocations: 0.739 MB / 0.5834 GB, free: 12.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.4143, allocations: 0.982 MB / 0.5844 GB, free: 11.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.805e-05/0.4143, allocations: 8 kB / 0.5844 GB, free: 11.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001734/0.416, allocations: 0.8685 MB / 0.5852 GB, free: 10.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/0.4161, allocations: 12 kB / 0.5852 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.949e-05/0.4161, allocations: 31.81 kB / 0.5853 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.9e-05/0.4161, allocations: 28 kB / 0.5853 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000556/0.4167, allocations: 171.7 kB / 0.5854 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.012e-05/0.4167, allocations: 36.39 kB / 0.5855 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007075/0.4174, allocations: 127.1 kB / 0.5856 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.229e-05/0.4175, allocations: 52 kB / 0.5857 GB, free: 10.14 MB / 430.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.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005163/0.418, allocations: 361.2 kB / 0.586 GB, free: 9.773 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.4182, allocations: 63.56 kB / 0.5861 GB, free: 9.711 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.4183, allocations: 65.31 kB / 0.5861 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.4183, allocations: 0 / 0.5861 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.4183, allocations: 0 / 0.5861 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4183, allocations: 0 / 0.5861 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006776/0.419, allocations: 460.5 kB / 0.5866 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.419, allocations: 0 / 0.5866 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.4191, allocations: 11.98 kB / 0.5866 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.748e-06/0.4191, allocations: 0 / 0.5866 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.4191, allocations: 11.92 kB / 0.5866 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-06/0.4191, allocations: 3.984 kB / 0.5866 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4191, allocations: 0 / 0.5866 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004834/0.4196, allocations: 275.1 kB / 0.5868 GB, free: 8.836 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.4197, allocations: 59.58 kB / 0.5869 GB, free: 8.777 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.434e-05/0.4198, allocations: 7.938 kB / 0.5869 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.42, allocations: 11.98 kB / 0.5869 GB, free: 8.758 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.732e-05/0.4201, allocations: 7.984 kB / 0.5869 GB, free: 8.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.4201, allocations: 0 / 0.5869 GB, free: 8.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008/0.4209, allocations: 0.5341 MB / 0.5875 GB, free: 8.219 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4209, allocations: 0 / 0.5875 GB, free: 8.219 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008676/0.4217, allocations: 143.7 kB / 0.5876 GB, free: 8.078 MB / 430.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008895/0.4226, allocations: 0.8056 MB / 0.5884 GB, free: 7.246 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009399/0.4236, allocations: 400.6 kB / 0.5888 GB, free: 6.859 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.4236, allocations: 4.062 kB / 0.5888 GB, free: 6.855 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.4237, allocations: 47.95 kB / 0.5888 GB, free: 6.809 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006911/0.4244, allocations: 80.58 kB / 0.5889 GB, free: 6.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.4345, allocations: 6.122 MB / 0.5949 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/0.435, allocations: 393.7 kB / 0.5952 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005419/0.4355, allocations: 200.8 kB / 0.5954 GB, free: 15.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003343/0.4359, allocations: 235.4 kB / 0.5957 GB, free: 15.12 MB / 446.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4359, allocations: 0 / 0.5957 GB, free: 15.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04025/0.4761, allocations: 11.64 MB / 0.607 GB, free: 3.691 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/13.6, allocations: 10.97 kB / 0.607 GB, free: 3.684 MB / 446.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.97356743493583]