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.001092/0.001092, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001542/0.001542, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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 0.9897/0.9897, allocations: 177 MB / 204.8 MB, free: 5.594 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.2685/0.2685, allocations: 34.86 MB / 296.3 MB, free: 0.5469 MB / 266.7 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 1.883e-06/1.883e-06, allocations: 0 / 378.7 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.087e-05, allocations: 3.156 kB / 378.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.005329/0.005349, allocations: 6.092 MB / 384.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.007797, allocations: 1.954 MB / 386.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002782/0.008076, allocations: 27.94 kB / 386.8 MB, free: 9.988 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009452/0.009021, allocations: 0.6502 MB / 387.5 MB, free: 9.336 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.009308, allocations: 218.6 kB / 387.7 MB, free: 9.121 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.00947, allocations: 59.8 kB / 387.7 MB, free: 9.062 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003493/0.00982, allocations: 429.9 kB / 388.2 MB, free: 8.641 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004136/0.01023, allocations: 435 kB / 388.6 MB, free: 8.215 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002964/0.01053, allocations: 323.1 kB / 388.9 MB, free: 7.898 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002934/0.01082, allocations: 259.3 kB / 389.2 MB, free: 7.645 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.891e-05/0.01087, allocations: 40 kB / 389.2 MB, free: 7.605 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.01101, allocations: 87.83 kB / 389.3 MB, free: 7.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.01119, allocations: 279.2 kB / 389.6 MB, free: 7.246 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.01132, allocations: 183.4 kB / 389.7 MB, free: 7.066 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004817/0.0118, allocations: 0.5408 MB / 390.3 MB, free: 6.523 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.0118, allocations: 0 / 390.3 MB, free: 6.523 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.0118, allocations: 0 / 390.3 MB, free: 6.523 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.01181, allocations: 0 / 390.3 MB, free: 6.523 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.0009305/0.01274, allocations: 1.005 MB / 391.3 MB, free: 5.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.01278, allocations: 12.02 kB / 391.3 MB, free: 5.469 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004446/0.01323, allocations: 200.3 kB / 391.5 MB, free: 5.273 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.0136, allocations: 370.2 kB / 391.9 MB, free: 4.883 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.01363, allocations: 37.3 kB / 391.9 MB, free: 4.848 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.096e-05/0.01367, allocations: 40.36 kB / 391.9 MB, free: 4.809 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000674/0.01435, allocations: 0.7539 MB / 392.7 MB, free: 3.898 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.01437, allocations: 11.88 kB / 392.7 MB, free: 3.887 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.0144, allocations: 19.98 kB / 392.7 MB, free: 3.867 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000196/0.01459, allocations: 192.4 kB / 392.9 MB, free: 3.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003777/0.01497, allocations: 279.2 kB / 393.2 MB, free: 3.402 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00266/0.01763, allocations: 5.823 MB / 399 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.499e-05/0.01768, allocations: 27.06 kB / 399 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.459e-05/0.0177, allocations: 11.69 kB / 399 MB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.01771, allocations: 8 kB / 399 MB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.01773, allocations: 37.33 kB / 399.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.01773, allocations: 0 / 399.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.000169/0.0179, allocations: 101.4 kB / 399.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.01793, allocations: 51.41 kB / 399.2 MB, free: 13.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005497/0.01848, allocations: 0.7528 MB / 400 MB, free: 12.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.01849, allocations: 25.7 kB / 400 MB, free: 12.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002879/0.01878, allocations: 0.5874 MB / 400.6 MB, free: 11.69 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.0188, allocations: 23.94 kB / 400.6 MB, free: 11.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.01894, allocations: 188.1 kB / 400.8 MB, free: 11.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.01914, allocations: 0.5625 MB / 401.4 MB, free: 10.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.02e-05/0.01922, allocations: 61.95 kB / 401.4 MB, free: 10.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005046/0.01972, allocations: 0.8876 MB / 402.3 MB, free: 9.566 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007394/0.02046, allocations: 1.025 MB / 403.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.02047, allocations: 8 kB / 403.3 MB, free: 8.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0006327/0.0211, allocations: 0.6773 MB / 404 MB, free: 7.461 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.02112, allocations: 16 kB / 404 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.02114, allocations: 20 kB / 404.1 MB, free: 7.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.696e-05/0.02116, allocations: 28 kB / 404.1 MB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.02143, allocations: 171.6 kB / 404.3 MB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.27e-05/0.02145, allocations: 39.86 kB / 404.3 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.02171, allocations: 107.2 kB / 404.4 MB, free: 7.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.02174, allocations: 56.23 kB / 404.5 MB, free: 7.031 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.0001361/0.02188, allocations: 246.8 kB / 404.7 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.02193, allocations: 59.62 kB / 404.8 MB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.318e-05/0.02198, allocations: 48.78 kB / 404.8 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.02198, allocations: 0 / 404.8 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.02199, allocations: 0 / 404.8 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.02199, allocations: 0 / 404.8 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.02231, allocations: 408.4 kB / 405.2 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.02232, allocations: 0 / 405.2 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.384e-05/0.02235, allocations: 15.98 kB / 405.2 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.02235, allocations: 0 / 405.2 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.02236, allocations: 0 / 405.2 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.02236, allocations: 0 / 405.2 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.02236, allocations: 7.984 kB / 405.2 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.0225, allocations: 247.5 kB / 405.5 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.02255, allocations: 47.62 kB / 405.5 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.02257, allocations: 4 kB / 405.5 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.719e-05/0.02265, allocations: 3.984 kB / 405.5 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.0227, allocations: 15.92 kB / 405.5 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.0227, allocations: 7.984 kB / 405.5 MB, free: 5.867 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002752/0.02298, allocations: 403 kB / 405.9 MB, free: 5.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02298, allocations: 0 / 405.9 MB, free: 5.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003801/0.02336, allocations: 147.6 kB / 406.1 MB, free: 5.336 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 9.097e-05/0.02345, allocations: 95.23 kB / 406.2 MB, free: 5.234 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002926/0.02374, allocations: 298.9 kB / 406.5 MB, free: 4.945 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.02374, allocations: 3.938 kB / 406.5 MB, free: 4.941 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.393e-05/0.02377, allocations: 11.69 kB / 406.5 MB, free: 4.926 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.02408, allocations: 79.39 kB / 406.6 MB, free: 4.852 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.02547, allocations: 0.9471 MB / 407.5 MB, free: 3.871 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.02559, allocations: 193 kB / 407.7 MB, free: 3.664 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000235/0.02582, allocations: 180.5 kB / 407.9 MB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.743e-05/0.02588, allocations: 36.48 kB / 407.9 MB, free: 3.453 MB / 378.7 MB Notification: Performance of SimCode: time 8.02e-07/0.02588, allocations: 0 / 407.9 MB, free: 3.453 MB / 378.7 MB Notification: Performance of Templates: time 0.006558/0.03244, allocations: 3.974 MB / 411.9 MB, free: 15.56 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.200507380068302]