Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001401/0.001401, allocations: 71.75 kB / 21.24 MB, free: 0.543 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.001455/0.001455, allocations: 161.1 kB / 24.5 MB, free: 3.707 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.514/1.514, allocations: 177.2 MB / 204.9 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2032/0.2032, allocations: 32.8 MB / 294.1 MB, free: 12 kB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002353/0.002353, allocations: 67.89 kB / 440.6 MB, free: 9.414 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.4005, allocations: 65.45 MB / 0.4942 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.005749/0.4062, allocations: 5.616 MB / 0.4996 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003221/0.4094, allocations: 1.876 MB / 0.5015 GB, free: 26.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004301/0.4099, allocations: 28.91 kB / 0.5015 GB, free: 26.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.411, allocations: 0.5932 MB / 0.5021 GB, free: 26.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004005/0.4114, allocations: 200.1 kB / 0.5023 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.4116, allocations: 64.72 kB / 0.5023 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.412, allocations: 416.1 kB / 0.5027 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004388/0.4124, allocations: 423.7 kB / 0.5031 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002687/0.4127, allocations: 225.1 kB / 0.5033 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003546/0.4131, allocations: 282 kB / 0.5036 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.483e-05/0.4131, allocations: 40.06 kB / 0.5037 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.4133, allocations: 85.98 kB / 0.5037 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.4135, allocations: 267.5 kB / 0.504 GB, free: 25.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.4137, allocations: 239.2 kB / 0.5042 GB, free: 25.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006249/0.4143, allocations: 0.8363 MB / 0.505 GB, free: 24.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4143, allocations: 0 / 0.505 GB, free: 24.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4143, allocations: 3.938 kB / 0.505 GB, free: 24.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.4143, allocations: 4 kB / 0.505 GB, free: 24.94 MB / 446.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.001191/0.4155, allocations: 0.8874 MB / 0.5059 GB, free: 24.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.4155, allocations: 9.5 kB / 0.5059 GB, free: 24.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007366/0.4163, allocations: 154.9 kB / 0.5061 GB, free: 24.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000521/0.4168, allocations: 394.4 kB / 0.5064 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.4168, allocations: 31.67 kB / 0.5065 GB, free: 23.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.335e-05/0.4169, allocations: 47.2 kB / 0.5065 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.4179, allocations: 1.08 MB / 0.5076 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.4179, allocations: 7.062 kB / 0.5076 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.731e-05/0.418, allocations: 22.05 kB / 0.5076 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003337/0.4183, allocations: 199.6 kB / 0.5078 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009932/0.4193, allocations: 0.7063 MB / 0.5085 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002545/0.4219, allocations: 4.309 MB / 0.5127 GB, free: 19.42 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.422, allocations: 63.44 kB / 0.5127 GB, free: 19.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.93e-05/0.4221, allocations: 43.17 kB / 0.5128 GB, free: 19.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.4221, allocations: 7.312 kB / 0.5128 GB, free: 19.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.4221, allocations: 30.56 kB / 0.5128 GB, free: 19.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.462e-06/0.4221, allocations: 0 / 0.5128 GB, free: 19.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004463/0.4226, allocations: 205.8 kB / 0.513 GB, free: 19.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.4226, allocations: 58.53 kB / 0.5131 GB, free: 19.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007397/0.4233, allocations: 0.7715 MB / 0.5138 GB, free: 18.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.4234, allocations: 26.67 kB / 0.5139 GB, free: 18.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.4236, allocations: 0.5271 MB / 0.5144 GB, free: 18.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.4236, allocations: 30 kB / 0.5144 GB, free: 18.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.4238, allocations: 170 kB / 0.5146 GB, free: 18.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.453e-05/0.4238, allocations: 370.5 kB / 0.5149 GB, free: 17.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.4241, allocations: 181.4 kB / 0.5151 GB, free: 17.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004552/0.4246, allocations: 0.7356 MB / 0.5158 GB, free: 17.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007977/0.4254, allocations: 0.9773 MB / 0.5168 GB, free: 16.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.4254, allocations: 9.5 kB / 0.5168 GB, free: 16.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001196/0.4266, allocations: 0.8628 MB / 0.5176 GB, free: 15.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.4266, allocations: 14.55 kB / 0.5176 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/0.4266, allocations: 23.23 kB / 0.5177 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.69e-05/0.4267, allocations: 26.12 kB / 0.5177 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/0.4272, allocations: 182.5 kB / 0.5178 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.523e-05/0.4272, allocations: 46.53 kB / 0.5179 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005541/0.4278, allocations: 115 kB / 0.518 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.049e-05/0.4278, allocations: 48.38 kB / 0.518 GB, free: 15.64 MB / 446.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.0004082/0.4282, allocations: 364 kB / 0.5184 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.302e-05/0.4283, allocations: 53.94 kB / 0.5184 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.716e-05/0.4284, allocations: 56.91 kB / 0.5185 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.4284, allocations: 1.156 kB / 0.5185 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4284, allocations: 3.938 kB / 0.5185 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4284, allocations: 0.6094 kB / 0.5185 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003911/0.4288, allocations: 339.7 kB / 0.5188 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4288, allocations: 0 / 0.5188 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.693e-05/0.4289, allocations: 11.95 kB / 0.5188 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.4289, allocations: 6.328 kB / 0.5188 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.4289, allocations: 0.7969 kB / 0.5188 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4289, allocations: 0 / 0.5188 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4289, allocations: 1.375 kB / 0.5189 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/0.4292, allocations: 270.3 kB / 0.5191 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.74e-05/0.4293, allocations: 46.41 kB / 0.5192 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.986e-05/0.4294, allocations: 2.094 kB / 0.5192 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.4296, allocations: 6.953 kB / 0.5192 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.4296, allocations: 24.3 kB / 0.5192 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.4296, allocations: 2.125 kB / 0.5192 GB, free: 14.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005911/0.4302, allocations: 482.4 kB / 0.5196 GB, free: 14.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4302, allocations: 0 / 0.5196 GB, free: 14.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009774/0.4312, allocations: 152.2 kB / 0.5198 GB, free: 14.68 MB / 446.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.0001269/0.4313, allocations: 94.34 kB / 0.5199 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008051/0.4321, allocations: 403.5 kB / 0.5203 GB, free: 14.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4321, allocations: 1.688 kB / 0.5203 GB, free: 14.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.4323, allocations: 46.77 kB / 0.5203 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005011/0.4328, allocations: 96.45 kB / 0.5204 GB, free: 14.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.4344, allocations: 1.088 MB / 0.5215 GB, free: 13.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005428/0.4349, allocations: 389.5 kB / 0.5218 GB, free: 13.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004908/0.4354, allocations: 199.7 kB / 0.522 GB, free: 13.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.238e-05/0.4355, allocations: 40.02 kB / 0.5221 GB, free: 13.68 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4355, allocations: 0 / 0.5221 GB, free: 13.68 MB / 446.1 MB Notification: Performance of Templates: time 0.01054/0.4461, allocations: 3.999 MB / 0.526 GB, free: 13.18 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 5.1490045299287885]