Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002252/0.002252, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002693/0.002693, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 230.5 MB / 257.4 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2264/0.2264, allocations: 46.95 MB / 360.8 MB, free: 3.891 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002533/0.002533, allocations: 83.88 kB / 0.4962 GB, free: 7.488 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3196, allocations: 66.08 MB / 0.5607 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008161/0.3278, allocations: 5.608 MB / 0.5662 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004175/0.3319, allocations: 1.866 MB / 0.568 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005699/0.3325, allocations: 27.94 kB / 0.568 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.3339, allocations: 0.5995 MB / 0.5686 GB, free: 11.85 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004875/0.3344, allocations: 198.9 kB / 0.5688 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.3346, allocations: 67.78 kB / 0.5689 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000512/0.3352, allocations: 417.7 kB / 0.5693 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006157/0.3358, allocations: 427 kB / 0.5697 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003983/0.3362, allocations: 231 kB / 0.5699 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004466/0.3366, allocations: 274.9 kB / 0.5702 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.8e-05/0.3367, allocations: 40 kB / 0.5702 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.3369, allocations: 87.89 kB / 0.5703 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000268/0.3372, allocations: 267.2 kB / 0.5705 GB, free: 9.871 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002391/0.3374, allocations: 238.5 kB / 0.5708 GB, free: 9.637 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009598/0.3384, allocations: 0.8322 MB / 0.5716 GB, free: 8.801 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3384, allocations: 0 / 0.5716 GB, free: 8.801 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3384, allocations: 0 / 0.5716 GB, free: 8.801 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.3384, allocations: 0 / 0.5716 GB, free: 8.801 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.00148/0.3399, allocations: 0.8935 MB / 0.5725 GB, free: 7.875 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.3399, allocations: 8.031 kB / 0.5725 GB, free: 7.867 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/0.34, allocations: 114.6 kB / 0.5726 GB, free: 7.746 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007426/0.3408, allocations: 160.2 kB / 0.5727 GB, free: 7.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006972/0.3415, allocations: 392.1 kB / 0.5731 GB, free: 7.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.3415, allocations: 29.36 kB / 0.5731 GB, free: 7.152 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.669e-05/0.3416, allocations: 47.92 kB / 0.5732 GB, free: 7.105 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.343, allocations: 1.078 MB / 0.5742 GB, free: 5.914 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.343, allocations: 7.938 kB / 0.5742 GB, free: 5.906 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.828e-05/0.3431, allocations: 23.98 kB / 0.5743 GB, free: 5.883 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003648/0.3434, allocations: 192.4 kB / 0.5744 GB, free: 5.695 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.3446, allocations: 0.7126 MB / 0.5751 GB, free: 4.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004265/0.3489, allocations: 4.455 MB / 0.5795 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.349, allocations: 58.56 kB / 0.5795 GB, free: 292 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.3491, allocations: 56.73 kB / 0.5796 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.3492, allocations: 0 / 0.5796 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.3492, allocations: 34.56 kB / 0.5796 GB, free: 188 kB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3492, allocations: 0 / 0.5796 GB, free: 188 kB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005348/0.3497, allocations: 221.1 kB / 0.5798 GB, free: 15.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.3498, allocations: 55.34 kB / 0.5799 GB, free: 15.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.3508, allocations: 0.8475 MB / 0.5807 GB, free: 15.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.3508, allocations: 29.7 kB / 0.5807 GB, free: 15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004359/0.3513, allocations: 0.5179 MB / 0.5812 GB, free: 14.47 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.3513, allocations: 27.88 kB / 0.5813 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/0.3515, allocations: 166.5 kB / 0.5814 GB, free: 14.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002264/0.3517, allocations: 378.8 kB / 0.5818 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/0.3521, allocations: 177.9 kB / 0.582 GB, free: 13.72 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00082/0.3529, allocations: 0.739 MB / 0.5827 GB, free: 12.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.3541, allocations: 0.9781 MB / 0.5836 GB, free: 11.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.3541, allocations: 4 kB / 0.5836 GB, free: 11.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001371/0.3554, allocations: 0.876 MB / 0.5845 GB, free: 10.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.3555, allocations: 14.19 kB / 0.5845 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.447e-05/0.3555, allocations: 20 kB / 0.5845 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.167e-05/0.3555, allocations: 32.69 kB / 0.5846 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005433/0.3561, allocations: 175.7 kB / 0.5847 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.775e-05/0.3561, allocations: 39.86 kB / 0.5848 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005429/0.3567, allocations: 119.1 kB / 0.5849 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.366e-05/0.3567, allocations: 52 kB / 0.5849 GB, free: 10.11 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.0004499/0.3572, allocations: 364 kB / 0.5853 GB, free: 9.746 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.162e-05/0.3573, allocations: 59.58 kB / 0.5853 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.78e-05/0.3574, allocations: 65.3 kB / 0.5854 GB, free: 9.617 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3574, allocations: 7.938 kB / 0.5854 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.3574, allocations: 8 kB / 0.5854 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3574, allocations: 0 / 0.5854 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006006/0.358, allocations: 456.4 kB / 0.5859 GB, free: 9.113 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.358, allocations: 3.984 kB / 0.5859 GB, free: 9.109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.025e-05/0.358, allocations: 11.98 kB / 0.5859 GB, free: 9.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3581, allocations: 0 / 0.5859 GB, free: 9.098 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.3581, allocations: 7.938 kB / 0.5859 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3581, allocations: 0 / 0.5859 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3581, allocations: 0 / 0.5859 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003909/0.3585, allocations: 279 kB / 0.5861 GB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.3586, allocations: 55.56 kB / 0.5862 GB, free: 8.746 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.019e-05/0.3586, allocations: 11.92 kB / 0.5862 GB, free: 8.734 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.3588, allocations: 4 kB / 0.5862 GB, free: 8.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.3589, allocations: 7.984 kB / 0.5862 GB, free: 8.723 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.3589, allocations: 3.984 kB / 0.5862 GB, free: 8.719 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006543/0.3595, allocations: 0.5341 MB / 0.5867 GB, free: 8.188 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3595, allocations: 0 / 0.5867 GB, free: 8.188 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006381/0.3602, allocations: 135.7 kB / 0.5869 GB, free: 8.055 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.0007177/0.3609, allocations: 0.8019 MB / 0.5877 GB, free: 7.227 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006863/0.3616, allocations: 412.4 kB / 0.588 GB, free: 6.828 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3616, allocations: 0 / 0.588 GB, free: 6.828 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.3617, allocations: 51.94 kB / 0.5881 GB, free: 6.777 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.3622, allocations: 97.2 kB / 0.5882 GB, free: 6.688 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007707/0.3699, allocations: 6.118 MB / 0.5942 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.3704, allocations: 389.7 kB / 0.5945 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004766/0.3708, allocations: 208.8 kB / 0.5947 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.3711, allocations: 227.4 kB / 0.595 GB, free: 15.08 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3711, allocations: 0 / 0.595 GB, free: 15.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04209/0.4132, allocations: 11.75 MB / 0.6064 GB, free: 3.535 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.4, allocations: 4 kB / 0.6064 GB, free: 3.531 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.387247821316123]