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.001375/0.001375, allocations: 75.44 kB / 21.24 MB, free: 0.543 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.001462/0.001462, allocations: 162.3 kB / 24.5 MB, free: 3.719 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.495/1.495, allocations: 177.1 MB / 204.7 MB, free: 8.969 MB / 190.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.2241/0.2241, allocations: 34.27 MB / 295.4 MB, free: 14.45 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: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002464/0.002464, allocations: 75.88 kB / 443.2 MB, free: 6.449 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2937, allocations: 66.05 MB / 0.4973 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.005358/0.299, allocations: 5.613 MB / 0.5028 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003073/0.3021, allocations: 1.881 MB / 0.5046 GB, free: 24.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005465/0.3027, allocations: 26.28 kB / 0.5046 GB, free: 24.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.3038, allocations: 0.5924 MB / 0.5052 GB, free: 24.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004004/0.3042, allocations: 203.9 kB / 0.5054 GB, free: 24.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.3045, allocations: 64.41 kB / 0.5055 GB, free: 24.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003839/0.3048, allocations: 415.2 kB / 0.5059 GB, free: 24.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004344/0.3053, allocations: 414 kB / 0.5063 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/0.3055, allocations: 229.8 kB / 0.5065 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003419/0.3059, allocations: 282.5 kB / 0.5067 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.04e-05/0.3059, allocations: 40.38 kB / 0.5068 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.3061, allocations: 84.34 kB / 0.5069 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001856/0.3063, allocations: 274.8 kB / 0.5071 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.3065, allocations: 236.2 kB / 0.5073 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006431/0.3071, allocations: 0.8323 MB / 0.5082 GB, free: 23.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3071, allocations: 4 kB / 0.5082 GB, free: 23.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3071, allocations: 0 / 0.5082 GB, free: 23.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.3071, allocations: 0 / 0.5082 GB, free: 23.38 MB / 446.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.001179/0.3083, allocations: 0.8855 MB / 0.509 GB, free: 22.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.3083, allocations: 9 kB / 0.509 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007348/0.3091, allocations: 161.2 kB / 0.5092 GB, free: 22.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004764/0.3095, allocations: 392.5 kB / 0.5096 GB, free: 22.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.3096, allocations: 30.14 kB / 0.5096 GB, free: 22.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.384e-05/0.3096, allocations: 51.36 kB / 0.5096 GB, free: 22.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009783/0.3106, allocations: 1.076 MB / 0.5107 GB, free: 21.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.3106, allocations: 6.969 kB / 0.5107 GB, free: 21.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.255e-05/0.3107, allocations: 21.98 kB / 0.5107 GB, free: 21.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002862/0.311, allocations: 195.3 kB / 0.5109 GB, free: 21.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.312, allocations: 0.7124 MB / 0.5116 GB, free: 21.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002648/0.3147, allocations: 4.318 MB / 0.5158 GB, free: 17.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.3148, allocations: 58.59 kB / 0.5159 GB, free: 17.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.3149, allocations: 43.98 kB / 0.5159 GB, free: 17.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3149, allocations: 0.9062 kB / 0.5159 GB, free: 17.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.3149, allocations: 32.56 kB / 0.516 GB, free: 17.76 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 2.044e-06/0.3149, allocations: 5.203 kB / 0.516 GB, free: 17.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004698/0.3154, allocations: 214.6 kB / 0.5162 GB, free: 17.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.3154, allocations: 56.19 kB / 0.5162 GB, free: 17.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007606/0.3162, allocations: 0.7727 MB / 0.517 GB, free: 17.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.3162, allocations: 25.7 kB / 0.517 GB, free: 17.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.3164, allocations: 0.5279 MB / 0.5175 GB, free: 16.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.3165, allocations: 24.47 kB / 0.5175 GB, free: 16.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.3167, allocations: 167.4 kB / 0.5177 GB, free: 16.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.751e-05/0.3168, allocations: 374.4 kB / 0.5181 GB, free: 16.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.317, allocations: 180.7 kB / 0.5182 GB, free: 16.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004636/0.3175, allocations: 0.7362 MB / 0.5189 GB, free: 15.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008121/0.3183, allocations: 0.9733 MB / 0.5199 GB, free: 14.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/0.3183, allocations: 5.594 kB / 0.5199 GB, free: 14.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00121/0.3195, allocations: 0.8678 MB / 0.5207 GB, free: 14.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.3196, allocations: 14.06 kB / 0.5208 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.3196, allocations: 25.72 kB / 0.5208 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.287e-05/0.3196, allocations: 25.72 kB / 0.5208 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/0.3201, allocations: 178.1 kB / 0.521 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.614e-05/0.3201, allocations: 44.94 kB / 0.521 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005107/0.3206, allocations: 111.7 kB / 0.5211 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.986e-05/0.3207, allocations: 48.61 kB / 0.5212 GB, free: 14.07 MB / 446.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.0003193/0.321, allocations: 358.6 kB / 0.5215 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.331e-05/0.3211, allocations: 59.89 kB / 0.5216 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.397e-05/0.3211, allocations: 60.41 kB / 0.5216 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3211, allocations: 0 / 0.5216 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3211, allocations: 5.312 kB / 0.5216 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3211, allocations: 0.6094 kB / 0.5216 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003672/0.3215, allocations: 339.5 kB / 0.522 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3215, allocations: 0.9375 kB / 0.522 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.792e-05/0.3216, allocations: 11.98 kB / 0.522 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.3216, allocations: 1.125 kB / 0.522 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.3216, allocations: 0 / 0.522 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3216, allocations: 2.422 kB / 0.522 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3216, allocations: 4 kB / 0.522 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/0.3219, allocations: 274.5 kB / 0.5222 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.024e-05/0.322, allocations: 45.77 kB / 0.5223 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.372e-05/0.322, allocations: 5.938 kB / 0.5223 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.3222, allocations: 6.828 kB / 0.5223 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.509e-05/0.3223, allocations: 18.23 kB / 0.5223 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.3223, allocations: 1.219 kB / 0.5223 GB, free: 13.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004737/0.3228, allocations: 481.8 kB / 0.5228 GB, free: 13.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3228, allocations: 4 kB / 0.5228 GB, free: 13.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006523/0.3234, allocations: 148.5 kB / 0.5229 GB, free: 13.11 MB / 446.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 9.486e-05/0.3235, allocations: 92.72 kB / 0.523 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006198/0.3241, allocations: 408.7 kB / 0.5234 GB, free: 12.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3241, allocations: 1.125 kB / 0.5234 GB, free: 12.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.3243, allocations: 50.48 kB / 0.5234 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.3247, allocations: 89.17 kB / 0.5235 GB, free: 12.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.3262, allocations: 1.094 MB / 0.5246 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.3266, allocations: 385.9 kB / 0.525 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004129/0.327, allocations: 200.6 kB / 0.5252 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.114e-05/0.3271, allocations: 35.86 kB / 0.5252 GB, free: 12.11 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3271, allocations: 3.938 kB / 0.5252 GB, free: 12.1 MB / 446.1 MB Notification: Performance of Templates: time 0.009365/0.3364, allocations: 3.988 MB / 0.5291 GB, free: 11.62 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 480] 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: 4.98692795203533]