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.001855/0.001855, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002315/0.002315, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2368/0.2368, allocations: 46.96 MB / 360.9 MB, free: 4.012 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.002206/0.002206, allocations: 71.88 kB / 0.4961 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3314, allocations: 66.03 MB / 0.5606 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008693/0.3401, allocations: 5.614 MB / 0.5661 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004723/0.3448, allocations: 1.869 MB / 0.5679 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009339/0.3458, allocations: 27.94 kB / 0.5679 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001643/0.3474, allocations: 0.5995 MB / 0.5685 GB, free: 11.94 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006973/0.3481, allocations: 202.9 kB / 0.5687 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.3484, allocations: 67.84 kB / 0.5688 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007905/0.3492, allocations: 414.2 kB / 0.5692 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008342/0.3501, allocations: 422.9 kB / 0.5696 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006067/0.3507, allocations: 223.1 kB / 0.5698 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006538/0.3513, allocations: 278.9 kB / 0.5701 GB, free: 10.35 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001638/0.3515, allocations: 40 kB / 0.5701 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003476/0.3518, allocations: 87.89 kB / 0.5702 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000425/0.3523, allocations: 275.1 kB / 0.5704 GB, free: 9.957 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004923/0.3528, allocations: 238.5 kB / 0.5707 GB, free: 9.723 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.3542, allocations: 0.8245 MB / 0.5715 GB, free: 8.895 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.3542, allocations: 0 / 0.5715 GB, free: 8.895 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3542, allocations: 0 / 0.5715 GB, free: 8.895 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.016e-05/0.3542, allocations: 0 / 0.5715 GB, free: 8.895 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.002101/0.3563, allocations: 0.8935 MB / 0.5724 GB, free: 7.969 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.3564, allocations: 12.03 kB / 0.5724 GB, free: 7.957 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001709/0.3565, allocations: 110.7 kB / 0.5725 GB, free: 7.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008717/0.3574, allocations: 156.2 kB / 0.5726 GB, free: 7.688 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009266/0.3583, allocations: 392.1 kB / 0.573 GB, free: 7.277 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.994e-05/0.3584, allocations: 33.3 kB / 0.573 GB, free: 7.246 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.944e-05/0.3585, allocations: 47.92 kB / 0.5731 GB, free: 7.199 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.3603, allocations: 1.082 MB / 0.5741 GB, free: 6.008 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.3603, allocations: 3.938 kB / 0.5741 GB, free: 6.004 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-05/0.3603, allocations: 23.98 kB / 0.5742 GB, free: 5.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000396/0.3607, allocations: 200.4 kB / 0.5743 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.362, allocations: 0.7126 MB / 0.575 GB, free: 5.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005061/0.3671, allocations: 4.455 MB / 0.5794 GB, free: 452 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.3673, allocations: 62.52 kB / 0.5794 GB, free: 380 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.3674, allocations: 44.91 kB / 0.5795 GB, free: 332 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.3674, allocations: 0 / 0.5795 GB, free: 332 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.3674, allocations: 30.56 kB / 0.5795 GB, free: 292 kB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/0.3674, allocations: 4 kB / 0.5795 GB, free: 288 kB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005662/0.368, allocations: 225 kB / 0.5797 GB, free: 56 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.3681, allocations: 51.41 kB / 0.5798 GB, free: 15.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.3692, allocations: 0.8475 MB / 0.5806 GB, free: 15.13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.3692, allocations: 25.7 kB / 0.5806 GB, free: 15.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004274/0.3696, allocations: 0.5218 MB / 0.5812 GB, free: 14.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.3697, allocations: 31.88 kB / 0.5812 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.3699, allocations: 166.5 kB / 0.5813 GB, free: 14.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002198/0.3701, allocations: 374.8 kB / 0.5817 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003312/0.3705, allocations: 181.9 kB / 0.5819 GB, free: 13.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008045/0.3713, allocations: 0.739 MB / 0.5826 GB, free: 12.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.3725, allocations: 0.9742 MB / 0.5835 GB, free: 11.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.665e-05/0.3725, allocations: 4 kB / 0.5835 GB, free: 11.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001685/0.3742, allocations: 0.8758 MB / 0.5844 GB, free: 10.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.3743, allocations: 12.97 kB / 0.5844 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.499e-05/0.3743, allocations: 20 kB / 0.5844 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.528e-05/0.3744, allocations: 36.12 kB / 0.5845 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005523/0.3749, allocations: 175.7 kB / 0.5846 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.394e-05/0.375, allocations: 39.84 kB / 0.5847 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006791/0.3756, allocations: 119.1 kB / 0.5848 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.158e-05/0.3757, allocations: 59.86 kB / 0.5848 GB, free: 10.2 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.000526/0.3762, allocations: 363.9 kB / 0.5852 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.3764, allocations: 59.58 kB / 0.5852 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.3765, allocations: 65.31 kB / 0.5853 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3765, allocations: 8 kB / 0.5853 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3765, allocations: 0 / 0.5853 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3765, allocations: 0 / 0.5853 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000743/0.3772, allocations: 452.4 kB / 0.5858 GB, free: 9.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.3773, allocations: 3.984 kB / 0.5858 GB, free: 9.203 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.962e-05/0.3773, allocations: 11.98 kB / 0.5858 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.3773, allocations: 0 / 0.5858 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.3774, allocations: 3.938 kB / 0.5858 GB, free: 9.188 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.3774, allocations: 4 kB / 0.5858 GB, free: 9.184 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3774, allocations: 0 / 0.5858 GB, free: 9.184 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004753/0.3778, allocations: 279 kB / 0.586 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.378, allocations: 55.56 kB / 0.5861 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.245e-05/0.3781, allocations: 11.92 kB / 0.5861 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.3783, allocations: 4 kB / 0.5861 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.3783, allocations: 7.984 kB / 0.5861 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.3783, allocations: 3.984 kB / 0.5861 GB, free: 8.812 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007292/0.3791, allocations: 0.5302 MB / 0.5866 GB, free: 8.285 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3791, allocations: 4 kB / 0.5866 GB, free: 8.281 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006978/0.3798, allocations: 139.7 kB / 0.5868 GB, free: 8.145 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.0008109/0.3806, allocations: 0.8018 MB / 0.5876 GB, free: 7.316 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008234/0.3814, allocations: 411.7 kB / 0.5879 GB, free: 6.918 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3814, allocations: 0 / 0.5879 GB, free: 6.918 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.3815, allocations: 51.94 kB / 0.588 GB, free: 6.867 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006446/0.3822, allocations: 89.62 kB / 0.5881 GB, free: 6.785 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008657/0.3908, allocations: 6.122 MB / 0.5941 GB, free: 16 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/0.3914, allocations: 389.5 kB / 0.5944 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005145/0.3919, allocations: 208.8 kB / 0.5946 GB, free: 15.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003238/0.3922, allocations: 227.4 kB / 0.5949 GB, free: 15.18 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3922, allocations: 0 / 0.5949 GB, free: 15.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04422/0.4364, allocations: 11.75 MB / 0.6063 GB, free: 3.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.91, allocations: 6.438 kB / 0.6063 GB, free: 3.676 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.972792785149068]