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.001951/0.001951, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002255/0.002255, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 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.542/1.542, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.3614/0.3614, allocations: 32.8 MB / 293.9 MB, free: 1.195 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.917e-05/3.1e-05, allocations: 2.312 kB / 375.2 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.009374/0.009405, allocations: 6.047 MB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004277/0.01368, allocations: 1.939 MB / 383.2 MB, free: 12.97 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004303/0.01411, allocations: 27.94 kB / 383.3 MB, free: 12.94 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.01575, allocations: 0.654 MB / 383.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004929/0.01625, allocations: 214.6 kB / 384.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.01649, allocations: 55.81 kB / 384.2 MB, free: 12.02 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005829/0.01707, allocations: 429.9 kB / 384.6 MB, free: 11.6 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006441/0.01771, allocations: 439 kB / 385 MB, free: 11.17 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004904/0.0182, allocations: 311.1 kB / 385.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004932/0.0187, allocations: 263.2 kB / 385.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.166e-05/0.01879, allocations: 40 kB / 385.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002233/0.01901, allocations: 87.88 kB / 385.7 MB, free: 10.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003356/0.01935, allocations: 279.2 kB / 386 MB, free: 10.21 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002448/0.01959, allocations: 179.4 kB / 386.2 MB, free: 10.03 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.02089, allocations: 0.8096 MB / 387 MB, free: 9.219 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.0209, allocations: 3.984 kB / 387 MB, free: 9.215 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.0209, allocations: 0 / 387 MB, free: 9.215 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.02091, allocations: 0 / 387 MB, free: 9.215 MB / 362.7 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.001726/0.02263, allocations: 1.048 MB / 388 MB, free: 8.129 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.02267, allocations: 12.03 kB / 388 MB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008567/0.02353, allocations: 196.3 kB / 388.2 MB, free: 7.926 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007377/0.02426, allocations: 386.1 kB / 388.6 MB, free: 7.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.0243, allocations: 29.36 kB / 388.6 MB, free: 7.492 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.299e-05/0.02437, allocations: 44.36 kB / 388.7 MB, free: 7.449 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.02565, allocations: 0.7962 MB / 389.5 MB, free: 6.496 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.02567, allocations: 7.875 kB / 389.5 MB, free: 6.488 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.346e-05/0.02572, allocations: 19.98 kB / 389.5 MB, free: 6.469 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003915/0.02611, allocations: 204.4 kB / 389.7 MB, free: 6.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007668/0.02688, allocations: 325.9 kB / 390 MB, free: 5.949 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005992/0.03287, allocations: 6.05 MB / 396.1 MB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.03303, allocations: 55.03 kB / 396.1 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.03313, allocations: 43.67 kB / 396.2 MB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.03315, allocations: 4 kB / 396.2 MB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.03319, allocations: 41.39 kB / 396.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.512e-06/0.03319, allocations: 4 kB / 396.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005092/0.0337, allocations: 177.2 kB / 396.4 MB, free: 15.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.03375, allocations: 51.41 kB / 396.4 MB, free: 15.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.03493, allocations: 0.9012 MB / 397.3 MB, free: 14.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.03495, allocations: 25.7 kB / 397.4 MB, free: 14.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005876/0.03554, allocations: 0.607 MB / 398 MB, free: 13.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.03558, allocations: 27.86 kB / 398 MB, free: 13.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003135/0.03589, allocations: 224.1 kB / 398.2 MB, free: 13.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004146/0.0363, allocations: 0.5898 MB / 398.8 MB, free: 12.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.03653, allocations: 89.86 kB / 398.9 MB, free: 12.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.03757, allocations: 0.9267 MB / 399.8 MB, free: 11.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/0.03927, allocations: 1.103 MB / 400.9 MB, free: 9.961 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.434e-05/0.03929, allocations: 8 kB / 400.9 MB, free: 9.953 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001343/0.04063, allocations: 0.7197 MB / 401.6 MB, free: 9.227 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.04066, allocations: 19.98 kB / 401.7 MB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/0.04069, allocations: 24.84 kB / 401.7 MB, free: 9.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.087e-05/0.04073, allocations: 24 kB / 401.7 MB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005051/0.04124, allocations: 175.7 kB / 401.9 MB, free: 8.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.324e-05/0.04128, allocations: 39.86 kB / 401.9 MB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005235/0.0418, allocations: 107.2 kB / 402 MB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.567e-05/0.04188, allocations: 55.94 kB / 402.1 MB, free: 8.789 MB / 378.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 (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.0003471/0.04223, allocations: 254.7 kB / 402.3 MB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.04233, allocations: 59.62 kB / 402.4 MB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.262e-05/0.04242, allocations: 44.8 kB / 402.4 MB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.04243, allocations: 4 kB / 402.4 MB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.04243, allocations: 4 kB / 402.4 MB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.04244, allocations: 3.984 kB / 402.4 MB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007628/0.0432, allocations: 0.4926 MB / 402.9 MB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.04321, allocations: 3.984 kB / 402.9 MB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.413e-05/0.04329, allocations: 8 kB / 403 MB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.04329, allocations: 0 / 403 MB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.04331, allocations: 3.984 kB / 403 MB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.04331, allocations: 0 / 403 MB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.04331, allocations: 0 / 403 MB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000415/0.04372, allocations: 307.4 kB / 403.3 MB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.04383, allocations: 51.61 kB / 403.3 MB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.237e-05/0.04388, allocations: 0 / 403.3 MB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.04406, allocations: 7.938 kB / 403.3 MB, free: 7.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.994e-05/0.04413, allocations: 15.97 kB / 403.3 MB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.04413, allocations: 0 / 403.3 MB, free: 7.465 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006027/0.04474, allocations: 459 kB / 403.8 MB, free: 7.023 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04474, allocations: 0 / 403.8 MB, free: 7.023 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006584/0.04539, allocations: 147.6 kB / 403.9 MB, free: 6.879 MB / 378.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 0.0001563/0.04555, allocations: 107.2 kB / 404 MB, free: 6.766 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006846/0.04623, allocations: 371.5 kB / 404.4 MB, free: 6.406 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.04624, allocations: 0 / 404.4 MB, free: 6.406 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.04636, allocations: 55.64 kB / 404.4 MB, free: 6.348 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005233/0.04688, allocations: 81.78 kB / 404.5 MB, free: 6.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.04862, allocations: 0.9658 MB / 405.5 MB, free: 5.266 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004729/0.04909, allocations: 365.4 kB / 405.8 MB, free: 4.887 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004428/0.04953, allocations: 176.6 kB / 406 MB, free: 4.715 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.76e-05/0.04962, allocations: 40.48 kB / 406.1 MB, free: 4.676 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.04962, allocations: 0 / 406.1 MB, free: 4.676 MB / 378.7 MB Notification: Performance of Templates: time 0.01072/0.06034, allocations: 3.986 MB / 410 MB, free: 0.7695 MB / 378.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 -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","/var/lib/jenkins/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: 4.9436846250901]