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.001525/0.001525, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001665/0.001665, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.407/1.407, allocations: 230.6 MB / 258.3 MB, free: 7.977 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.2301/0.2301, allocations: 46.94 MB / 361.6 MB, free: 4.254 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: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 67.91 kB / 0.4974 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3178, allocations: 66.03 MB / 0.5619 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.00798/0.3258, allocations: 6.305 MB / 0.568 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003842/0.3296, allocations: 2.002 MB / 0.57 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004566/0.3301, allocations: 27.94 kB / 0.57 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.3314, allocations: 0.6229 MB / 0.5706 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004432/0.3319, allocations: 202.9 kB / 0.5708 GB, free: 11.19 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.3321, allocations: 63.81 kB / 0.5709 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005102/0.3326, allocations: 422.2 kB / 0.5713 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005661/0.3332, allocations: 419 kB / 0.5717 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003288/0.3335, allocations: 223.1 kB / 0.5719 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004351/0.3339, allocations: 298.9 kB / 0.5722 GB, free: 9.785 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.814e-05/0.334, allocations: 40 kB / 0.5722 GB, free: 9.746 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.3342, allocations: 87.89 kB / 0.5723 GB, free: 9.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003139/0.3345, allocations: 271.2 kB / 0.5726 GB, free: 9.395 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002792/0.3348, allocations: 317.9 kB / 0.5729 GB, free: 9.082 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008971/0.3357, allocations: 0.8241 MB / 0.5737 GB, free: 8.258 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.3357, allocations: 0 / 0.5737 GB, free: 8.258 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3357, allocations: 0 / 0.5737 GB, free: 8.258 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.3357, allocations: 0 / 0.5737 GB, free: 8.258 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.001535/0.3372, allocations: 0.8936 MB / 0.5746 GB, free: 7.332 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.3372, allocations: 8.031 kB / 0.5746 GB, free: 7.324 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000757/0.338, allocations: 156.2 kB / 0.5747 GB, free: 7.172 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006588/0.3387, allocations: 392.1 kB / 0.5751 GB, free: 6.762 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.3387, allocations: 33.3 kB / 0.5751 GB, free: 6.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.761e-05/0.3388, allocations: 48.11 kB / 0.5752 GB, free: 6.684 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.3403, allocations: 1.078 MB / 0.5762 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.3403, allocations: 7.938 kB / 0.5762 GB, free: 5.484 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.781e-05/0.3404, allocations: 15.98 kB / 0.5762 GB, free: 5.469 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003989/0.3408, allocations: 204.4 kB / 0.5764 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.3419, allocations: 0.7087 MB / 0.5771 GB, free: 4.559 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004618/0.3466, allocations: 4.607 MB / 0.5816 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.3467, allocations: 62.47 kB / 0.5817 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.3468, allocations: 44.91 kB / 0.5817 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.3468, allocations: 0 / 0.5817 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.3469, allocations: 34.56 kB / 0.5818 GB, free: 15.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.3469, allocations: 4 kB / 0.5818 GB, free: 15.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005243/0.3474, allocations: 217.1 kB / 0.582 GB, free: 15.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.3475, allocations: 51.41 kB / 0.582 GB, free: 15.33 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009504/0.3484, allocations: 0.8203 MB / 0.5828 GB, free: 14.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.3484, allocations: 29.7 kB / 0.5828 GB, free: 14.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003961/0.3488, allocations: 0.5179 MB / 0.5834 GB, free: 13.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.3488, allocations: 35.83 kB / 0.5834 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.349, allocations: 174.5 kB / 0.5836 GB, free: 13.72 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.3492, allocations: 374.8 kB / 0.5839 GB, free: 13.35 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.3496, allocations: 177.9 kB / 0.5841 GB, free: 13.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007406/0.3503, allocations: 0.739 MB / 0.5848 GB, free: 12.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.3516, allocations: 0.9703 MB / 0.5858 GB, free: 10.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.3516, allocations: 8 kB / 0.5858 GB, free: 10.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001306/0.3529, allocations: 0.8689 MB / 0.5866 GB, free: 10.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.3529, allocations: 12 kB / 0.5866 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.3529, allocations: 28.06 kB / 0.5866 GB, free: 9.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.963e-05/0.353, allocations: 31.94 kB / 0.5867 GB, free: 9.949 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004805/0.3534, allocations: 175.7 kB / 0.5868 GB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.214e-05/0.3535, allocations: 35.86 kB / 0.5869 GB, free: 9.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004886/0.354, allocations: 123.2 kB / 0.587 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.753e-05/0.354, allocations: 48 kB / 0.587 GB, free: 9.574 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.0004429/0.3545, allocations: 375.9 kB / 0.5874 GB, free: 9.195 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.36e-05/0.3545, allocations: 63.52 kB / 0.5875 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.408e-05/0.3546, allocations: 69.36 kB / 0.5875 GB, free: 9.059 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3546, allocations: 3.938 kB / 0.5875 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3546, allocations: 0 / 0.5875 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.3546, allocations: 0 / 0.5875 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005527/0.3552, allocations: 476.4 kB / 0.588 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3552, allocations: 0 / 0.588 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.397e-05/0.3553, allocations: 11.98 kB / 0.588 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3553, allocations: 0 / 0.588 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.3553, allocations: 8 kB / 0.588 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.3553, allocations: 7.875 kB / 0.588 GB, free: 8.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3553, allocations: 0 / 0.588 GB, free: 8.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.3557, allocations: 267 kB / 0.5883 GB, free: 8.242 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.3558, allocations: 55.56 kB / 0.5883 GB, free: 8.188 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.424e-05/0.3559, allocations: 3.938 kB / 0.5883 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.3561, allocations: 23.92 kB / 0.5883 GB, free: 8.16 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.3561, allocations: 7.984 kB / 0.5884 GB, free: 8.152 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.3561, allocations: 0 / 0.5884 GB, free: 8.152 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006337/0.3567, allocations: 0.5302 MB / 0.5889 GB, free: 7.625 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3567, allocations: 0 / 0.5889 GB, free: 7.625 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006159/0.3574, allocations: 135.8 kB / 0.589 GB, free: 7.492 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.0001323/0.3575, allocations: 99.23 kB / 0.5891 GB, free: 7.387 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006558/0.3582, allocations: 404.2 kB / 0.5895 GB, free: 6.996 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3582, allocations: 0 / 0.5895 GB, free: 6.996 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.3583, allocations: 48.39 kB / 0.5895 GB, free: 6.949 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005303/0.3588, allocations: 97.78 kB / 0.5896 GB, free: 6.859 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.3607, allocations: 1.167 MB / 0.5908 GB, free: 5.656 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006624/0.3613, allocations: 0.9949 MB / 0.5917 GB, free: 4.633 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.341e-05/0.3614, allocations: 43.42 kB / 0.5918 GB, free: 4.59 MB / 430.1 MB Notification: Performance of SimCode: time 4e-07/0.3614, allocations: 0 / 0.5918 GB, free: 4.59 MB / 430.1 MB Notification: Performance of Templates: time 0.01145/0.3729, allocations: 7.61 MB / 0.5992 GB, free: 13 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 480] 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: 7.903535923920572]