Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002625/0.002625, allocations: 205.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.537/1.537, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2334/0.2334, allocations: 46.96 MB / 360.9 MB, free: 4.109 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 67.91 kB / 0.4961 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.335, allocations: 66.03 MB / 0.5606 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007379/0.3424, allocations: 5.608 MB / 0.5661 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00389/0.3463, allocations: 1.877 MB / 0.5679 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005381/0.3468, allocations: 23.94 kB / 0.5679 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.3482, allocations: 0.5995 MB / 0.5685 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005137/0.3488, allocations: 202.9 kB / 0.5687 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.349, allocations: 63.86 kB / 0.5688 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005421/0.3495, allocations: 418.1 kB / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005816/0.3501, allocations: 423 kB / 0.5696 GB, free: 10.97 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003779/0.3505, allocations: 227.1 kB / 0.5698 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004643/0.351, allocations: 302.9 kB / 0.5701 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.898e-05/0.351, allocations: 36 kB / 0.5701 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.3512, allocations: 83.91 kB / 0.5702 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002779/0.3515, allocations: 271.1 kB / 0.5705 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002759/0.3518, allocations: 238.4 kB / 0.5707 GB, free: 9.832 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009963/0.3528, allocations: 0.8284 MB / 0.5715 GB, free: 9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3528, allocations: 0 / 0.5715 GB, free: 9 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3528, allocations: 0 / 0.5715 GB, free: 9 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.3528, allocations: 4 kB / 0.5715 GB, free: 8.996 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.001585/0.3544, allocations: 0.8935 MB / 0.5724 GB, free: 8.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.3544, allocations: 8.031 kB / 0.5724 GB, free: 8.062 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001389/0.3546, allocations: 110.7 kB / 0.5725 GB, free: 7.945 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008055/0.3554, allocations: 156.2 kB / 0.5726 GB, free: 7.793 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007693/0.3562, allocations: 392.2 kB / 0.573 GB, free: 7.383 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.442e-05/0.3562, allocations: 33.36 kB / 0.573 GB, free: 7.352 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.427e-05/0.3563, allocations: 47.86 kB / 0.5731 GB, free: 7.305 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.3579, allocations: 1.085 MB / 0.5741 GB, free: 6.105 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.3579, allocations: 0 / 0.5741 GB, free: 6.105 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.441e-05/0.358, allocations: 27.92 kB / 0.5742 GB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003765/0.3583, allocations: 196.4 kB / 0.5744 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.3595, allocations: 0.7126 MB / 0.5751 GB, free: 5.172 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004548/0.364, allocations: 4.463 MB / 0.5794 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.3642, allocations: 50.53 kB / 0.5795 GB, free: 488 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.3643, allocations: 48.91 kB / 0.5795 GB, free: 436 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.3644, allocations: 0 / 0.5795 GB, free: 436 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.3644, allocations: 42.55 kB / 0.5795 GB, free: 384 kB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.3644, allocations: 0 / 0.5795 GB, free: 384 kB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005218/0.3649, allocations: 213 kB / 0.5797 GB, free: 164 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.365, allocations: 51.41 kB / 0.5798 GB, free: 100 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.366, allocations: 0.8592 MB / 0.5806 GB, free: 15.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.366, allocations: 25.7 kB / 0.5807 GB, free: 15.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003804/0.3664, allocations: 0.5179 MB / 0.5812 GB, free: 14.67 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.3664, allocations: 23.89 kB / 0.5812 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.3666, allocations: 174.5 kB / 0.5814 GB, free: 14.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.3668, allocations: 378.8 kB / 0.5817 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.3671, allocations: 173.9 kB / 0.5819 GB, free: 13.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007602/0.3679, allocations: 0.739 MB / 0.5826 GB, free: 12.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.369, allocations: 0.9781 MB / 0.5836 GB, free: 11.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.369, allocations: 8 kB / 0.5836 GB, free: 11.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001362/0.3704, allocations: 0.8728 MB / 0.5844 GB, free: 10.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.3704, allocations: 16.06 kB / 0.5844 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.622e-05/0.3704, allocations: 20 kB / 0.5845 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.561e-05/0.3705, allocations: 31.94 kB / 0.5845 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004977/0.371, allocations: 171.7 kB / 0.5846 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-05/0.371, allocations: 39.8 kB / 0.5847 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005604/0.3716, allocations: 131.1 kB / 0.5848 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.786e-05/0.3716, allocations: 52 kB / 0.5849 GB, free: 10.3 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.0004448/0.3721, allocations: 355.9 kB / 0.5852 GB, free: 9.938 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.196e-05/0.3722, allocations: 63.58 kB / 0.5853 GB, free: 9.875 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.3723, allocations: 69.3 kB / 0.5853 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3723, allocations: 0 / 0.5853 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3723, allocations: 0 / 0.5853 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3723, allocations: 192 / 0.5853 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005752/0.3728, allocations: 452.5 kB / 0.5858 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3728, allocations: 3.938 kB / 0.5858 GB, free: 9.312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.835e-05/0.3729, allocations: 11.98 kB / 0.5858 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.3729, allocations: 3.984 kB / 0.5858 GB, free: 9.297 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.373, allocations: 15.92 kB / 0.5858 GB, free: 9.281 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.373, allocations: 0 / 0.5858 GB, free: 9.281 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.373, allocations: 0 / 0.5858 GB, free: 9.281 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000373/0.3733, allocations: 275 kB / 0.5861 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.3734, allocations: 55.56 kB / 0.5861 GB, free: 8.941 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.131e-05/0.3735, allocations: 7.938 kB / 0.5861 GB, free: 8.934 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.3737, allocations: 7.984 kB / 0.5861 GB, free: 8.926 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.3737, allocations: 7.984 kB / 0.5861 GB, free: 8.918 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.3738, allocations: 4 kB / 0.5861 GB, free: 8.914 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006385/0.3744, allocations: 0.5341 MB / 0.5867 GB, free: 8.383 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3744, allocations: 0 / 0.5867 GB, free: 8.383 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006403/0.375, allocations: 139.7 kB / 0.5868 GB, free: 8.246 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.0006848/0.3757, allocations: 0.8056 MB / 0.5876 GB, free: 7.414 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006861/0.3764, allocations: 408.6 kB / 0.588 GB, free: 7.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.3764, allocations: 4 kB / 0.588 GB, free: 7.016 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.3765, allocations: 39.95 kB / 0.588 GB, free: 6.977 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.377, allocations: 94.42 kB / 0.5881 GB, free: 6.895 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007551/0.3846, allocations: 6.118 MB / 0.5941 GB, free: 132 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.385, allocations: 393.7 kB / 0.5944 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004907/0.3855, allocations: 204.8 kB / 0.5946 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.3858, allocations: 231.4 kB / 0.5949 GB, free: 15.29 MB / 446.1 MB Notification: Performance of SimCode: time 1.232e-06/0.3858, allocations: 0 / 0.5949 GB, free: 15.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03998/0.4258, allocations: 12 MB / 0.6066 GB, free: 3.535 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.74, allocations: 6.594 kB / 0.6066 GB, free: 3.531 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 14.813042480993317]