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.001336/0.001336, allocations: 107.6 kB / 21.18 MB, free: 0.6758 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.001457/0.001457, allocations: 206.1 kB / 24.48 MB, free: 3.973 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.55/1.55, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.2562/0.2562, allocations: 46.97 MB / 361.6 MB, free: 4.066 MB / 286.1 MB " [Timeout remaining time 179] 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.002063/0.002063, allocations: 67.91 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.38, allocations: 66.03 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008186/0.3882, allocations: 5.613 MB / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004458/0.3927, allocations: 1.873 MB / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007849/0.3935, allocations: 31.88 kB / 0.5692 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.395, allocations: 0.5957 MB / 0.5697 GB, free: 12.03 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005387/0.3955, allocations: 198.9 kB / 0.5699 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.3958, allocations: 63.86 kB / 0.57 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005685/0.3964, allocations: 418.1 kB / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006085/0.397, allocations: 419 kB / 0.5708 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00035/0.3973, allocations: 227.1 kB / 0.571 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004892/0.3978, allocations: 302.8 kB / 0.5713 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.708e-05/0.3979, allocations: 36 kB / 0.5713 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002183/0.3981, allocations: 83.91 kB / 0.5714 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003048/0.3984, allocations: 275.1 kB / 0.5717 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002677/0.3987, allocations: 238.5 kB / 0.5719 GB, free: 9.805 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009987/0.3997, allocations: 0.8281 MB / 0.5727 GB, free: 8.977 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.3997, allocations: 7.938 kB / 0.5727 GB, free: 8.969 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3997, allocations: 0 / 0.5727 GB, free: 8.969 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.3997, allocations: 0 / 0.5727 GB, free: 8.969 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.001666/0.4013, allocations: 0.8896 MB / 0.5736 GB, free: 8.047 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.4014, allocations: 8.031 kB / 0.5736 GB, free: 8.039 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008079/0.4022, allocations: 164.2 kB / 0.5738 GB, free: 7.879 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007456/0.4029, allocations: 388.2 kB / 0.5741 GB, free: 7.473 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.347e-05/0.403, allocations: 37.3 kB / 0.5742 GB, free: 7.438 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.599e-05/0.4031, allocations: 40.11 kB / 0.5742 GB, free: 7.398 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.4046, allocations: 1.085 MB / 0.5753 GB, free: 6.199 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.4046, allocations: 7.938 kB / 0.5753 GB, free: 6.191 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.071e-05/0.4047, allocations: 19.98 kB / 0.5753 GB, free: 6.172 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003591/0.405, allocations: 192.5 kB / 0.5755 GB, free: 5.984 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.4062, allocations: 0.7165 MB / 0.5762 GB, free: 5.266 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004369/0.4106, allocations: 4.311 MB / 0.5804 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.4107, allocations: 62.52 kB / 0.5804 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.4109, allocations: 44.91 kB / 0.5805 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.4109, allocations: 3.938 kB / 0.5805 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.4109, allocations: 38.5 kB / 0.5805 GB, free: 0.625 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.983e-06/0.4109, allocations: 0 / 0.5805 GB, free: 0.625 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005375/0.4115, allocations: 209.2 kB / 0.5807 GB, free: 424 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.4115, allocations: 55.34 kB / 0.5808 GB, free: 356 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.4126, allocations: 0.7769 MB / 0.5815 GB, free: 15.56 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.4126, allocations: 25.7 kB / 0.5816 GB, free: 15.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005803/0.4132, allocations: 0.5222 MB / 0.5821 GB, free: 15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.4132, allocations: 27.89 kB / 0.5821 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002779/0.4135, allocations: 166.5 kB / 0.5823 GB, free: 14.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002501/0.4137, allocations: 374.8 kB / 0.5826 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/0.4141, allocations: 173.9 kB / 0.5828 GB, free: 14.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009044/0.415, allocations: 0.7429 MB / 0.5835 GB, free: 13.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.4164, allocations: 0.9743 MB / 0.5845 GB, free: 11.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/0.4165, allocations: 4 kB / 0.5845 GB, free: 11.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001499/0.418, allocations: 0.8684 MB / 0.5853 GB, free: 11.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.418, allocations: 12 kB / 0.5853 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-05/0.418, allocations: 20 kB / 0.5853 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.324e-05/0.418, allocations: 28 kB / 0.5854 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005187/0.4186, allocations: 180.2 kB / 0.5855 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.695e-05/0.4186, allocations: 47.8 kB / 0.5856 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005843/0.4192, allocations: 111.2 kB / 0.5857 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.166e-05/0.4193, allocations: 52 kB / 0.5857 GB, free: 10.65 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.0004767/0.4197, allocations: 355.9 kB / 0.5861 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.227e-05/0.4198, allocations: 51.62 kB / 0.5861 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.078e-05/0.4199, allocations: 56.8 kB / 0.5862 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4199, allocations: 0 / 0.5862 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4199, allocations: 3.938 kB / 0.5862 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.4199, allocations: 7.984 kB / 0.5862 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004453/0.4204, allocations: 341 kB / 0.5865 GB, free: 9.805 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4204, allocations: 3.938 kB / 0.5865 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.055e-05/0.4205, allocations: 19.92 kB / 0.5865 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4205, allocations: 0 / 0.5865 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.4205, allocations: 0 / 0.5865 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4205, allocations: 0 / 0.5865 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.331e-06/0.4205, allocations: 8 kB / 0.5865 GB, free: 9.773 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.4209, allocations: 271.2 kB / 0.5868 GB, free: 9.492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.497e-05/0.421, allocations: 51.66 kB / 0.5869 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.274e-05/0.421, allocations: 0 / 0.5869 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.4212, allocations: 7.984 kB / 0.5869 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.971e-05/0.4213, allocations: 11.92 kB / 0.5869 GB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.4213, allocations: 3.984 kB / 0.5869 GB, free: 9.418 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006066/0.4219, allocations: 483 kB / 0.5873 GB, free: 8.953 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4219, allocations: 0 / 0.5873 GB, free: 8.953 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007101/0.4226, allocations: 147.6 kB / 0.5875 GB, free: 8.809 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.0001698/0.4228, allocations: 99.19 kB / 0.5876 GB, free: 8.699 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007117/0.4235, allocations: 408.5 kB / 0.588 GB, free: 8.305 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4235, allocations: 0 / 0.588 GB, free: 8.305 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.4236, allocations: 48.12 kB / 0.588 GB, free: 8.258 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005215/0.4241, allocations: 75.55 kB / 0.5881 GB, free: 8.188 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.4261, allocations: 1.159 MB / 0.5892 GB, free: 6.992 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004651/0.4266, allocations: 393.3 kB / 0.5896 GB, free: 6.586 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.743e-05/0.4267, allocations: 39.44 kB / 0.5896 GB, free: 6.547 MB / 430.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4267, allocations: 0 / 0.5896 GB, free: 6.547 MB / 430.1 MB Notification: Performance of Templates: time 0.01257/0.4393, allocations: 7.464 MB / 0.5969 GB, free: 15.09 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: 8.678526551986579]