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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008105/0.0008105, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001052/0.001862, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000647/0.000647, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009369/0.001584, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9441/0.9441, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1708/1.115, allocations: 52.48 MB / 238.5 MB, free: 7.625 MB / 234.7 MB " [Timeout remaining time 179] 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.1442/0.1442, allocations: 32.79 MB / 272 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02174/0.1659, allocations: 12.54 MB / 284.5 MB, free: 9.715 MB / 282.7 MB " [Timeout remaining time 180] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 285.8 MB, free: 8.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.862e-05, allocations: 2.312 kB / 285.8 MB, free: 8.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008512/0.00853, allocations: 6.181 MB / 292 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003733/0.01226, allocations: 1.981 MB / 294 MB, free: 240 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004386/0.0127, allocations: 23.94 kB / 294 MB, free: 216 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.0139, allocations: 0.6149 MB / 294.6 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004849/0.01438, allocations: 226.5 kB / 294.9 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.01458, allocations: 55.8 kB / 294.9 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005438/0.01513, allocations: 469.8 kB / 295.4 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005654/0.01569, allocations: 461 kB / 295.8 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004872/0.01618, allocations: 408.1 kB / 296.2 MB, free: 14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004322/0.01661, allocations: 255.2 kB / 296.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.663e-05/0.01669, allocations: 44 kB / 296.5 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.01691, allocations: 87.83 kB / 296.6 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002525/0.01716, allocations: 271.2 kB / 296.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.01735, allocations: 159.5 kB / 297 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000645/0.01799, allocations: 0.5679 MB / 297.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.018, allocations: 0 / 297.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.018, allocations: 4 kB / 297.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.548e-05/0.01803, allocations: 0 / 297.6 MB, free: 12.63 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001204/0.01923, allocations: 1.024 MB / 298.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.01926, allocations: 8.031 kB / 298.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004832/0.01975, allocations: 209.9 kB / 298.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006728/0.02042, allocations: 339.3 kB / 299.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.02045, allocations: 41.36 kB / 299.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.752e-05/0.02051, allocations: 44.34 kB / 299.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007333/0.02124, allocations: 0.6826 MB / 299.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.02126, allocations: 11.88 kB / 299.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.007e-05/0.0213, allocations: 19.98 kB / 299.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002731/0.02158, allocations: 216.8 kB / 300.2 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004186/0.02199, allocations: 273.1 kB / 300.4 MB, free: 9.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001949/0.02394, allocations: 4.171 MB / 304.6 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.83e-05/0.02398, allocations: 18.58 kB / 304.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.368e-05/0.024, allocations: 4.859 kB / 304.6 MB, free: 5.207 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.02401, allocations: 4 kB / 304.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.02402, allocations: 30.56 kB / 304.7 MB, free: 5.164 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.02402, allocations: 0 / 304.7 MB, free: 5.164 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001356/0.02416, allocations: 73.67 kB / 304.7 MB, free: 5.086 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.02418, allocations: 59.34 kB / 304.8 MB, free: 5.016 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003445/0.02453, allocations: 0.6086 MB / 305.4 MB, free: 4.395 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.02454, allocations: 25.7 kB / 305.4 MB, free: 4.363 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.02474, allocations: 0.5189 MB / 305.9 MB, free: 3.836 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.02476, allocations: 27.88 kB / 306 MB, free: 3.809 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004064/0.02517, allocations: 174.4 kB / 306.1 MB, free: 3.633 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.57e-05/0.02525, allocations: 366.7 kB / 306.5 MB, free: 3.266 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.939e-05/0.0253, allocations: 53.95 kB / 306.5 MB, free: 3.215 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.02557, allocations: 0.6062 MB / 307.2 MB, free: 2.328 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004743/0.02604, allocations: 0.8402 MB / 308 MB, free: 1.203 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.02605, allocations: 8 kB / 308 MB, free: 1.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0004575/0.02651, allocations: 0.5449 MB / 308.5 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.02653, allocations: 20.22 kB / 308.6 MB, free: 0.625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.02654, allocations: 20 kB / 308.6 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.02656, allocations: 24 kB / 308.6 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.02684, allocations: 195.6 kB / 308.8 MB, free: 400 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/0.02686, allocations: 43.8 kB / 308.8 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.0271, allocations: 107.2 kB / 308.9 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.02714, allocations: 43.98 kB / 309 MB, free: 204 kB / 298.7 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 (fixed3.color[1],fixed3.color[2],fixed3.color[3],arrow.color[1],arrow.color[2],arrow.color[3],fixedArrow.color[1],fixedArrow.color[2],fixedArrow.color[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],arrow.headAtOrigin,arrow.arrow.arrowLine.twoHeadedArrow,fixedArrow.headAtOrigin,fixedArrow.arrowLine.twoHeadedArrow) * 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.0001431/0.02728, allocations: 191 kB / 309.2 MB, free: 0 / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.02731, allocations: 35.95 kB / 309.2 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.754e-05/0.02736, allocations: 52.78 kB / 309.3 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.02736, allocations: 0 / 309.3 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.02736, allocations: 3.938 kB / 309.3 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.02736, allocations: 4 kB / 309.3 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.02755, allocations: 217.6 kB / 309.5 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.02756, allocations: 3.938 kB / 309.5 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.695e-05/0.02759, allocations: 11.98 kB / 309.5 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.02763, allocations: 43.62 kB / 309.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.02763, allocations: 0 / 309.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/0.02764, allocations: 0 / 309.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.02764, allocations: 4 kB / 309.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.02764, allocations: 7.875 kB / 309.6 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.997e-05/0.02774, allocations: 163.5 kB / 309.7 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.02777, allocations: 0 / 309.7 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.078e-05/0.02785, allocations: 4 kB / 309.7 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.02788, allocations: 3.984 kB / 309.7 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.02788, allocations: 4 kB / 309.7 MB, free: 15.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001634/0.02805, allocations: 248.5 kB / 310 MB, free: 15.17 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02805, allocations: 0 / 310 MB, free: 15.17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003543/0.0284, allocations: 163.5 kB / 310.1 MB, free: 15.01 MB / 314.7 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 9.6e-05/0.0285, allocations: 84.41 kB / 310.2 MB, free: 14.92 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002283/0.02873, allocations: 279 kB / 310.5 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.413e-05/0.02875, allocations: 22.17 kB / 310.5 MB, free: 14.63 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.365e-05/0.02877, allocations: 12.86 kB / 310.5 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.02921, allocations: 0.6079 MB / 311.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.0311, allocations: 1.073 MB / 312.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.03123, allocations: 209.1 kB / 312.4 MB, free: 12.58 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001312/0.03136, allocations: 72.69 kB / 312.5 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003785/0.03174, allocations: 123.3 kB / 312.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.03174, allocations: 4 kB / 312.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of Templates: time 0.006756/0.03849, allocations: 3.705 MB / 316.3 MB, free: 8.746 MB / 314.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.823296468704939]