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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 101.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.278/2.278, allocations: 222.9 MB / 242.5 MB, free: 13.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3843/0.3843, allocations: 44.18 MB / 336.8 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 69.16 kB / 408.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1857, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.0332/0.219, allocations: 20.36 MB / 489.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01523/0.2343, allocations: 4.222 MB / 493.8 MB, free: 6.145 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006733/0.2411, allocations: 75.88 kB / 493.8 MB, free: 6.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002486/0.2436, allocations: 0.6077 MB / 494.4 MB, free: 5.461 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.2448, allocations: 191.1 kB / 494.6 MB, free: 5.273 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.2452, allocations: 51.88 kB / 494.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001149/0.2464, allocations: 0.6891 MB / 495.4 MB, free: 4.531 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.2476, allocations: 0.5208 MB / 495.9 MB, free: 4.008 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006251/0.2482, allocations: 219 kB / 496.1 MB, free: 3.793 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009207/0.2491, allocations: 322.8 kB / 496.4 MB, free: 3.477 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000178/0.2493, allocations: 36 kB / 496.5 MB, free: 3.441 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004351/0.2498, allocations: 79.89 kB / 496.5 MB, free: 3.363 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000497/0.2503, allocations: 287.2 kB / 496.8 MB, free: 3.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006235/0.2509, allocations: 341.8 kB / 497.1 MB, free: 2.746 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.2521, allocations: 0.7055 MB / 497.9 MB, free: 2.039 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2521, allocations: 0 / 497.9 MB, free: 2.039 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2521, allocations: 0 / 497.9 MB, free: 2.039 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.109e-05/0.2521, allocations: 0 / 497.9 MB, free: 2.039 MB / 366.1 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.002878/0.255, allocations: 1.001 MB / 498.9 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/0.2551, allocations: 12.03 kB / 498.9 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009567/0.2561, allocations: 131.7 kB / 499 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.2572, allocations: 453.5 kB / 499.4 MB, free: 372 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.157e-05/0.2573, allocations: 33.36 kB / 499.5 MB, free: 340 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.2574, allocations: 48.11 kB / 499.5 MB, free: 292 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002944/0.2604, allocations: 1.241 MB / 0.489 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.647e-05/0.2604, allocations: 7.938 kB / 0.489 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.345e-05/0.2605, allocations: 23.98 kB / 0.489 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006358/0.2612, allocations: 244.7 kB / 0.4893 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002469/0.2637, allocations: 0.8077 MB / 0.4901 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009389/0.2731, allocations: 5.069 MB / 0.495 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.2735, allocations: 66.5 kB / 0.4951 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.2737, allocations: 48.84 kB / 0.4951 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.2738, allocations: 0 / 0.4951 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.2738, allocations: 34.56 kB / 0.4952 GB, free: 8.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 3.366e-06/0.2739, allocations: 0 / 0.4952 GB, free: 8.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0009991/0.2749, allocations: 212.8 kB / 0.4954 GB, free: 8.199 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.957e-05/0.275, allocations: 55.34 kB / 0.4954 GB, free: 8.133 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002126/0.2771, allocations: 0.8553 MB / 0.4963 GB, free: 7.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.2772, allocations: 29.7 kB / 0.4963 GB, free: 7.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007528/0.2779, allocations: 0.5361 MB / 0.4968 GB, free: 6.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.099e-05/0.278, allocations: 27.81 kB / 0.4968 GB, free: 6.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003877/0.2784, allocations: 166.4 kB / 0.497 GB, free: 6.492 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002576/0.2787, allocations: 378.8 kB / 0.4974 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005989/0.2793, allocations: 185.8 kB / 0.4975 GB, free: 5.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.2807, allocations: 0.7312 MB / 0.4982 GB, free: 4.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/0.2826, allocations: 0.982 MB / 0.4992 GB, free: 3.648 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-05/0.2827, allocations: 4 kB / 0.4992 GB, free: 3.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002758/0.2855, allocations: 0.8802 MB / 0.5001 GB, free: 2.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.948e-05/0.2855, allocations: 12 kB / 0.5001 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.093e-05/0.2856, allocations: 20 kB / 0.5001 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.225e-05/0.2857, allocations: 28.19 kB / 0.5001 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009501/0.2866, allocations: 179.7 kB / 0.5003 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-05/0.2867, allocations: 35.86 kB / 0.5003 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.2881, allocations: 122.8 kB / 0.5004 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.2882, allocations: 44 kB / 0.5005 GB, free: 2.324 MB / 382.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.arrowLine.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.0009227/0.2891, allocations: 399.7 kB / 0.5009 GB, free: 1.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.2894, allocations: 63.16 kB / 0.5009 GB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.2897, allocations: 65.44 kB / 0.501 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.2897, allocations: 0 / 0.501 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.2897, allocations: 0 / 0.501 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2897, allocations: 4 kB / 0.501 GB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.2912, allocations: 0.5519 MB / 0.5015 GB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2912, allocations: 0 / 0.5015 GB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.2914, allocations: 11.98 kB / 0.5015 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.2914, allocations: 4 kB / 0.5016 GB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.2915, allocations: 3.984 kB / 0.5016 GB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.2915, allocations: 0 / 0.5016 GB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.2915, allocations: 4 kB / 0.5016 GB, free: 1.164 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000725/0.2922, allocations: 266.6 kB / 0.5018 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003021/0.2926, allocations: 128.4 kB / 0.5019 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.2927, allocations: 15.92 kB / 0.502 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004315/0.2932, allocations: 12 kB / 0.502 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.712e-05/0.2933, allocations: 11.97 kB / 0.502 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.2933, allocations: 3.938 kB / 0.502 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001318/0.2947, allocations: 0.5536 MB / 0.5025 GB, free: 156 kB / 382.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.2947, allocations: 0 / 0.5025 GB, free: 156 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001339/0.296, allocations: 151.5 kB / 0.5027 GB, free: 4 kB / 382.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.3786/0.6746, allocations: 96.42 kB / 0.5028 GB, free: 51.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001526/0.6762, allocations: 419.6 kB / 0.5032 GB, free: 51.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6762, allocations: 0 / 0.5032 GB, free: 51.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.6765, allocations: 46.02 kB / 0.5032 GB, free: 51.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.6777, allocations: 100.2 kB / 0.5033 GB, free: 51.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003718/0.6814, allocations: 1.531 MB / 0.5048 GB, free: 51.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.6825, allocations: 1.023 MB / 0.5058 GB, free: 50.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.6828, allocations: 46.69 kB / 0.5058 GB, free: 50.44 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6828, allocations: 0 / 0.5058 GB, free: 50.44 MB / 382.1 MB Notification: Performance of Templates: time 0.02668/0.7095, allocations: 8.05 MB / 0.5137 GB, free: 48.6 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.makefile (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 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) 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) Reference file matches