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.00136/0.00136, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001489/0.001489, allocations: 219.9 kB / 23.73 MB, free: 4.164 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.52/1.52, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.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.2224/0.2224, allocations: 44.93 MB / 358.8 MB, free: 6.09 MB / 286.1 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.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) [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.002219/0.002219, allocations: 63.91 kB / 0.493 GB, free: 10.56 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3079, allocations: 65.47 MB / 0.557 GB, free: 7.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007921/0.3158, allocations: 5.612 MB / 0.5625 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004008/0.3198, allocations: 1.881 MB / 0.5643 GB, free: 60 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004787/0.3203, allocations: 31.88 kB / 0.5643 GB, free: 28 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.3217, allocations: 0.5879 MB / 0.5649 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004748/0.3222, allocations: 202.9 kB / 0.5651 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.3224, allocations: 59.88 kB / 0.5651 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005522/0.323, allocations: 414.1 kB / 0.5655 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005768/0.3236, allocations: 426.9 kB / 0.5659 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003307/0.3239, allocations: 223.2 kB / 0.5662 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004339/0.3243, allocations: 286.8 kB / 0.5664 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.585e-05/0.3244, allocations: 36 kB / 0.5665 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.3246, allocations: 87.89 kB / 0.5666 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002909/0.3249, allocations: 267.2 kB / 0.5668 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002548/0.3252, allocations: 242.5 kB / 0.567 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.3262, allocations: 0.8322 MB / 0.5679 GB, free: 12.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3262, allocations: 0 / 0.5679 GB, free: 12.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3262, allocations: 3.938 kB / 0.5679 GB, free: 12.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.3263, allocations: 4 kB / 0.5679 GB, free: 12.38 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.001529/0.3278, allocations: 0.8857 MB / 0.5687 GB, free: 11.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3278, allocations: 12.03 kB / 0.5687 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001249/0.3279, allocations: 106.7 kB / 0.5688 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007779/0.3287, allocations: 164.2 kB / 0.569 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000715/0.3294, allocations: 384.2 kB / 0.5694 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/0.3295, allocations: 33.36 kB / 0.5694 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.516e-05/0.3296, allocations: 47.91 kB / 0.5694 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.3311, allocations: 1.082 MB / 0.5705 GB, free: 9.508 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.3311, allocations: 7.938 kB / 0.5705 GB, free: 9.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/0.3313, allocations: 23.92 kB / 0.5705 GB, free: 9.477 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003658/0.3317, allocations: 188.5 kB / 0.5707 GB, free: 9.293 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.333, allocations: 0.7165 MB / 0.5714 GB, free: 8.574 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004614/0.3376, allocations: 4.467 MB / 0.5758 GB, free: 3.934 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.3377, allocations: 58.53 kB / 0.5758 GB, free: 3.867 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.3379, allocations: 48.91 kB / 0.5759 GB, free: 3.816 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.3379, allocations: 3.938 kB / 0.5759 GB, free: 3.812 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.3379, allocations: 38.55 kB / 0.5759 GB, free: 3.766 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 2.074e-06/0.3379, allocations: 0 / 0.5759 GB, free: 3.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005357/0.3385, allocations: 213.1 kB / 0.5761 GB, free: 3.551 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.3385, allocations: 51.41 kB / 0.5762 GB, free: 3.488 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.3396, allocations: 0.8514 MB / 0.577 GB, free: 2.625 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.3396, allocations: 25.7 kB / 0.577 GB, free: 2.594 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005454/0.3402, allocations: 0.5218 MB / 0.5775 GB, free: 2.062 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.3402, allocations: 31.88 kB / 0.5776 GB, free: 2.031 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003242/0.3405, allocations: 170.5 kB / 0.5777 GB, free: 1.855 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.3407, allocations: 370.8 kB / 0.5781 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003205/0.3411, allocations: 181.9 kB / 0.5782 GB, free: 1.309 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.3421, allocations: 0.7428 MB / 0.579 GB, free: 288 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.3433, allocations: 0.9704 MB / 0.5799 GB, free: 15.03 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-06/0.3433, allocations: 7.938 kB / 0.5799 GB, free: 15.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001482/0.3448, allocations: 0.8804 MB / 0.5808 GB, free: 14.13 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.3448, allocations: 16 kB / 0.5808 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/0.3448, allocations: 20 kB / 0.5808 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.361e-05/0.3449, allocations: 27.94 kB / 0.5808 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004994/0.3454, allocations: 175.6 kB / 0.581 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.606e-05/0.3454, allocations: 39.86 kB / 0.5811 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005457/0.3459, allocations: 123.1 kB / 0.5812 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.23e-05/0.346, allocations: 48.28 kB / 0.5812 GB, free: 13.69 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.0004288/0.3464, allocations: 355.9 kB / 0.5816 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.502e-05/0.3465, allocations: 63.58 kB / 0.5816 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.3466, allocations: 69.3 kB / 0.5817 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3466, allocations: 0 / 0.5817 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3466, allocations: 0 / 0.5817 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3466, allocations: 0 / 0.5817 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005818/0.3472, allocations: 456.5 kB / 0.5821 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3472, allocations: 3.938 kB / 0.5821 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.611e-05/0.3473, allocations: 15.98 kB / 0.5821 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3473, allocations: 0 / 0.5821 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.3473, allocations: 7.875 kB / 0.5821 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3473, allocations: 3.984 kB / 0.5821 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3473, allocations: 0 / 0.5821 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.3478, allocations: 271.2 kB / 0.5824 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.3479, allocations: 59.55 kB / 0.5825 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.745e-05/0.3479, allocations: 3.938 kB / 0.5825 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.3482, allocations: 15.98 kB / 0.5825 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.192e-05/0.3482, allocations: 11.98 kB / 0.5825 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.3482, allocations: 4 kB / 0.5825 GB, free: 12.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000669/0.3489, allocations: 0.5263 MB / 0.583 GB, free: 11.78 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3489, allocations: 0 / 0.583 GB, free: 11.78 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006434/0.3495, allocations: 143.7 kB / 0.5831 GB, free: 11.64 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.0007371/0.3503, allocations: 0.8096 MB / 0.5839 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007309/0.351, allocations: 403.9 kB / 0.5843 GB, free: 10.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.351, allocations: 4.75 kB / 0.5843 GB, free: 10.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.3511, allocations: 47.89 kB / 0.5844 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005263/0.3517, allocations: 89.72 kB / 0.5845 GB, free: 10.28 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008369/0.36, allocations: 6.118 MB / 0.5904 GB, free: 3.516 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005129/0.3605, allocations: 389.7 kB / 0.5908 GB, free: 3.109 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005356/0.3611, allocations: 208.8 kB / 0.591 GB, free: 2.902 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003195/0.3614, allocations: 227.4 kB / 0.5912 GB, free: 2.68 MB / 430.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3614, allocations: 0 / 0.5912 GB, free: 2.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0416/0.403, allocations: 11.76 MB / 0.6027 GB, free: 7.164 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.1, allocations: 6.906 kB / 0.6027 GB, free: 7.16 MB / 446.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 52.5] 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: 15.175797725096345]