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.00132/0.00132, allocations: 114 kB / 20.43 MB, free: 1.457 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.00144/0.00144, allocations: 215.6 kB / 23.75 MB, free: 4.672 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.476/1.476, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2408/0.2408, allocations: 46.92 MB / 360.8 MB, free: 4.191 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.002295/0.002295, allocations: 75.88 kB / 0.4962 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3283, allocations: 66.09 MB / 0.5608 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.0082/0.3365, allocations: 6.289 MB / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004059/0.3406, allocations: 2.006 MB / 0.5689 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006036/0.3412, allocations: 31.88 kB / 0.5689 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.3426, allocations: 0.619 MB / 0.5695 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005633/0.3432, allocations: 202.9 kB / 0.5697 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.3434, allocations: 63.86 kB / 0.5697 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005646/0.344, allocations: 418.1 kB / 0.5701 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006891/0.3447, allocations: 427 kB / 0.5705 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003717/0.3451, allocations: 223.1 kB / 0.5708 GB, free: 9.988 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004704/0.3455, allocations: 302.9 kB / 0.571 GB, free: 9.691 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.731e-05/0.3456, allocations: 36 kB / 0.5711 GB, free: 9.656 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.3458, allocations: 87.89 kB / 0.5712 GB, free: 9.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002796/0.3461, allocations: 271.1 kB / 0.5714 GB, free: 9.305 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003045/0.3464, allocations: 317.9 kB / 0.5717 GB, free: 8.992 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009709/0.3474, allocations: 0.8206 MB / 0.5725 GB, free: 8.168 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3474, allocations: 0 / 0.5725 GB, free: 8.168 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3474, allocations: 0 / 0.5725 GB, free: 8.168 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.3474, allocations: 0 / 0.5725 GB, free: 8.168 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.001568/0.349, allocations: 0.8974 MB / 0.5734 GB, free: 7.238 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.349, allocations: 8.031 kB / 0.5734 GB, free: 7.23 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001468/0.3492, allocations: 114.7 kB / 0.5735 GB, free: 7.109 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007395/0.3499, allocations: 160.2 kB / 0.5737 GB, free: 6.953 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006888/0.3506, allocations: 388.2 kB / 0.574 GB, free: 6.547 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.3506, allocations: 29.36 kB / 0.5741 GB, free: 6.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.23e-05/0.3507, allocations: 47.92 kB / 0.5741 GB, free: 6.473 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.3521, allocations: 1.082 MB / 0.5752 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.3522, allocations: 7.938 kB / 0.5752 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.215e-05/0.3522, allocations: 23.98 kB / 0.5752 GB, free: 5.246 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003411/0.3526, allocations: 184.5 kB / 0.5754 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.3538, allocations: 0.7164 MB / 0.5761 GB, free: 4.348 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004536/0.3583, allocations: 4.619 MB / 0.5806 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.3585, allocations: 54.53 kB / 0.5806 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.3586, allocations: 52.91 kB / 0.5807 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.3586, allocations: 0 / 0.5807 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.3586, allocations: 30.56 kB / 0.5807 GB, free: 15.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.3586, allocations: 3.938 kB / 0.5807 GB, free: 15.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005268/0.3592, allocations: 217.1 kB / 0.5809 GB, free: 15.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.3592, allocations: 51.41 kB / 0.581 GB, free: 15.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.3602, allocations: 0.8283 MB / 0.5818 GB, free: 14.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.3602, allocations: 25.7 kB / 0.5818 GB, free: 14.24 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000441/0.3607, allocations: 0.5218 MB / 0.5823 GB, free: 13.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.3607, allocations: 23.89 kB / 0.5824 GB, free: 13.69 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.3609, allocations: 174.5 kB / 0.5825 GB, free: 13.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.3611, allocations: 374.8 kB / 0.5829 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/0.3614, allocations: 177.8 kB / 0.583 GB, free: 12.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000855/0.3623, allocations: 0.7429 MB / 0.5838 GB, free: 11.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.3635, allocations: 0.9704 MB / 0.5847 GB, free: 10.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.3635, allocations: 8 kB / 0.5847 GB, free: 10.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001376/0.3649, allocations: 0.8726 MB / 0.5856 GB, free: 9.793 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.3649, allocations: 16 kB / 0.5856 GB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-05/0.3649, allocations: 20 kB / 0.5856 GB, free: 9.758 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.882e-05/0.365, allocations: 27.94 kB / 0.5856 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004946/0.3655, allocations: 179.6 kB / 0.5858 GB, free: 9.555 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.135e-05/0.3655, allocations: 39.86 kB / 0.5858 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005175/0.366, allocations: 119.1 kB / 0.586 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.778e-05/0.3661, allocations: 56.23 kB / 0.586 GB, free: 9.344 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.0004283/0.3665, allocations: 357.2 kB / 0.5864 GB, free: 8.984 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.83e-05/0.3666, allocations: 63.77 kB / 0.5864 GB, free: 8.922 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.3667, allocations: 69.3 kB / 0.5865 GB, free: 8.848 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3667, allocations: 0 / 0.5865 GB, free: 8.848 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.3667, allocations: 3.984 kB / 0.5865 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3667, allocations: 0 / 0.5865 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005731/0.3673, allocations: 476.4 kB / 0.5869 GB, free: 8.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3673, allocations: 4 kB / 0.5869 GB, free: 8.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.435e-05/0.3674, allocations: 15.98 kB / 0.587 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3674, allocations: 0 / 0.587 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.3674, allocations: 7.875 kB / 0.587 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3674, allocations: 0 / 0.587 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3674, allocations: 0 / 0.587 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.3678, allocations: 275 kB / 0.5872 GB, free: 8.023 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.3679, allocations: 59.56 kB / 0.5873 GB, free: 7.965 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.564e-05/0.3679, allocations: 7.938 kB / 0.5873 GB, free: 7.957 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.3681, allocations: 11.98 kB / 0.5873 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.3682, allocations: 7.984 kB / 0.5873 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.3682, allocations: 0 / 0.5873 GB, free: 7.938 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006449/0.3688, allocations: 0.5341 MB / 0.5878 GB, free: 7.406 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3688, allocations: 0 / 0.5878 GB, free: 7.406 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006396/0.3695, allocations: 131.8 kB / 0.588 GB, free: 7.277 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.000711/0.3702, allocations: 0.8057 MB / 0.5887 GB, free: 6.445 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007462/0.3709, allocations: 412.5 kB / 0.5891 GB, free: 6.047 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3709, allocations: 0 / 0.5891 GB, free: 6.047 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.371, allocations: 47.94 kB / 0.5892 GB, free: 6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005253/0.3716, allocations: 88.98 kB / 0.5893 GB, free: 5.918 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008134/0.3797, allocations: 6.118 MB / 0.5952 GB, free: 15.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006971/0.3804, allocations: 0.9872 MB / 0.5962 GB, free: 14.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004996/0.3809, allocations: 200.8 kB / 0.5964 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003671/0.3813, allocations: 231.3 kB / 0.5966 GB, free: 13.71 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3813, allocations: 0 / 0.5966 GB, free: 13.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04255/0.4238, allocations: 11.72 MB / 0.6081 GB, free: 2.133 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.07, allocations: 0 / 0.6081 GB, free: 2.133 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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: 16.10457769688219]