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.001529/0.001529, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 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.001829/0.001829, allocations: 162.4 kB / 24.99 MB, free: 9.281 MB / 18.57 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.141/1.141, allocations: 177 MB / 205.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.3508/0.3508, allocations: 34.87 MB / 296.6 MB, free: 0.5664 MB / 266.7 MB " [Timeout remaining time 179] 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 1.734e-06/1.734e-06, allocations: 0 / 378.7 MB, free: 2.449 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.619e-05/3.792e-05, allocations: 2.312 kB / 378.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.006484/0.006522, allocations: 6.079 MB / 384.8 MB, free: 12.33 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004511/0.01103, allocations: 1.947 MB / 386.8 MB, free: 10.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008627/0.0119, allocations: 31.88 kB / 386.8 MB, free: 10.35 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.01321, allocations: 0.6501 MB / 387.4 MB, free: 9.695 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008183/0.01403, allocations: 214.6 kB / 387.6 MB, free: 9.484 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003987/0.01443, allocations: 59.78 kB / 387.7 MB, free: 9.426 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007753/0.0152, allocations: 425.9 kB / 388.1 MB, free: 9.008 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006086/0.01581, allocations: 439 kB / 388.5 MB, free: 8.578 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005071/0.01632, allocations: 323.1 kB / 388.9 MB, free: 8.262 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005415/0.01686, allocations: 255.3 kB / 389.1 MB, free: 8.012 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.781e-05/0.01694, allocations: 40 kB / 389.2 MB, free: 7.973 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002633/0.0172, allocations: 83.88 kB / 389.2 MB, free: 7.891 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002879/0.01749, allocations: 279.2 kB / 389.5 MB, free: 7.617 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.0177, allocations: 183.3 kB / 389.7 MB, free: 7.438 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007883/0.01849, allocations: 0.5447 MB / 390.2 MB, free: 6.891 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.01849, allocations: 0 / 390.2 MB, free: 6.891 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.0185, allocations: 0 / 390.2 MB, free: 6.891 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.248e-05/0.01852, allocations: 4 kB / 390.2 MB, free: 6.887 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.001414/0.01993, allocations: 1.009 MB / 391.2 MB, free: 5.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.01998, allocations: 8.031 kB / 391.3 MB, free: 5.832 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006348/0.02062, allocations: 192.3 kB / 391.4 MB, free: 5.645 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005469/0.02116, allocations: 378.2 kB / 391.8 MB, free: 5.246 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.02119, allocations: 29.36 kB / 391.8 MB, free: 5.219 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/0.02124, allocations: 48.3 kB / 391.9 MB, free: 5.172 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008602/0.0221, allocations: 0.75 MB / 392.6 MB, free: 4.266 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.02212, allocations: 11.88 kB / 392.6 MB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.981e-05/0.02216, allocations: 19.98 kB / 392.7 MB, free: 4.234 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002405/0.0224, allocations: 196.4 kB / 392.9 MB, free: 4.043 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006204/0.02302, allocations: 275.3 kB / 393.1 MB, free: 3.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003753/0.02677, allocations: 5.823 MB / 398.9 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.141e-05/0.02684, allocations: 27.06 kB / 399 MB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.21e-05/0.02688, allocations: 7.688 kB / 399 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.0269, allocations: 4 kB / 399 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.02693, allocations: 41.33 kB / 399 MB, free: 13.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 3.277e-06/0.02693, allocations: 4 kB / 399 MB, free: 13.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002687/0.0272, allocations: 97.39 kB / 399.1 MB, free: 13.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.02724, allocations: 51.41 kB / 399.2 MB, free: 13.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000637/0.02788, allocations: 0.7606 MB / 399.9 MB, free: 12.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.02789, allocations: 25.7 kB / 400 MB, free: 12.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000318/0.02821, allocations: 0.5835 MB / 400.5 MB, free: 12.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.02823, allocations: 23.94 kB / 400.6 MB, free: 12.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.0284, allocations: 188.1 kB / 400.8 MB, free: 11.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.02861, allocations: 0.5625 MB / 401.3 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.02872, allocations: 61.95 kB / 401.4 MB, free: 11.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005435/0.02926, allocations: 0.8837 MB / 402.3 MB, free: 9.938 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007897/0.03005, allocations: 1.029 MB / 403.3 MB, free: 8.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.03006, allocations: 8 kB / 403.3 MB, free: 8.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0008334/0.0309, allocations: 0.6815 MB / 404 MB, free: 7.824 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.03093, allocations: 12 kB / 404 MB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/0.03095, allocations: 20 kB / 404 MB, free: 7.793 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.736e-05/0.03099, allocations: 28 kB / 404 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/0.03133, allocations: 175.6 kB / 404.2 MB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.999e-05/0.03136, allocations: 39.86 kB / 404.2 MB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.03175, allocations: 107.2 kB / 404.4 MB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/0.0318, allocations: 55.92 kB / 404.4 MB, free: 7.395 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.0002207/0.03202, allocations: 234.8 kB / 404.6 MB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.805e-05/0.03207, allocations: 55.62 kB / 404.7 MB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.265e-05/0.03215, allocations: 52.78 kB / 404.7 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.03215, allocations: 3.938 kB / 404.7 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.03216, allocations: 192 / 404.7 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.03216, allocations: 0 / 404.7 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007802/0.03294, allocations: 412.4 kB / 405.1 MB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.03294, allocations: 3.984 kB / 405.2 MB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.394e-05/0.03301, allocations: 8 kB / 405.2 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.03301, allocations: 0 / 405.2 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.03302, allocations: 4 kB / 405.2 MB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.03303, allocations: 7.984 kB / 405.2 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.03303, allocations: 0 / 405.2 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.03324, allocations: 247.5 kB / 405.4 MB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/0.0333, allocations: 47.62 kB / 405.5 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.03334, allocations: 7.984 kB / 405.5 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.03345, allocations: 3.938 kB / 405.5 MB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.052e-05/0.03352, allocations: 11.98 kB / 405.5 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.03352, allocations: 7.984 kB / 405.5 MB, free: 6.234 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003334/0.03386, allocations: 402.9 kB / 405.9 MB, free: 5.848 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03386, allocations: 0 / 405.9 MB, free: 5.848 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005199/0.03438, allocations: 151.6 kB / 406 MB, free: 5.699 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.0002135/0.03459, allocations: 99.23 kB / 406.1 MB, free: 5.594 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004242/0.03501, allocations: 291.4 kB / 406.4 MB, free: 5.312 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.03502, allocations: 4.062 kB / 406.4 MB, free: 5.309 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.922e-05/0.03505, allocations: 11.69 kB / 406.4 MB, free: 5.293 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.03548, allocations: 90.58 kB / 406.5 MB, free: 5.211 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.03721, allocations: 0.9464 MB / 407.5 MB, free: 4.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.03737, allocations: 185 kB / 407.6 MB, free: 4.031 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003044/0.03768, allocations: 180.6 kB / 407.8 MB, free: 3.855 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.123e-05/0.03775, allocations: 40.48 kB / 407.9 MB, free: 3.816 MB / 378.7 MB Notification: Performance of SimCode: time 2.615e-06/0.03775, allocations: 3.938 kB / 407.9 MB, free: 3.812 MB / 378.7 MB Notification: Performance of Templates: time 0.008937/0.04669, allocations: 3.972 MB / 411.8 MB, free: 15.93 MB / 394.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6342228739522398]