Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00181/0.00181, allocations: 200.2 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 226.5 MB / 243.4 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007928/0.0007926, allocations: 93.06 kB / 295.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2929/0.2929, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002575/0.0002575, allocations: 12 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2821, allocations: 62.95 MB / 0.516 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01171/0.2939, allocations: 18.36 MB / 0.5339 GB, free: 24.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006566/0.3005, allocations: 4.054 MB / 0.5378 GB, free: 21.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/0.3022, allocations: 75.12 kB / 0.5379 GB, free: 21.26 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.3034, allocations: 0.8006 MB / 0.5387 GB, free: 20.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003217/0.3066, allocations: 2.22 MB / 0.5409 GB, free: 20.04 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.3069, allocations: 56.64 kB / 0.5409 GB, free: 20 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004377/0.3073, allocations: 0.5729 MB / 0.5415 GB, free: 19.78 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008644/0.3082, allocations: 0.8124 MB / 0.5423 GB, free: 19.37 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.3084, allocations: 187.4 kB / 0.5425 GB, free: 19.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.3087, allocations: 271.5 kB / 0.5427 GB, free: 19.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.179e-05/0.3088, allocations: 21 kB / 0.5427 GB, free: 19.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.3089, allocations: 75.38 kB / 0.5428 GB, free: 19.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.3091, allocations: 254.4 kB / 0.543 GB, free: 19.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.3093, allocations: 321.8 kB / 0.5434 GB, free: 18.88 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004594/0.3097, allocations: 0.6956 MB / 0.544 GB, free: 18.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3097, allocations: 0 / 0.544 GB, free: 18.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3098, allocations: 0 / 0.544 GB, free: 18.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.525e-06/0.3098, allocations: 0 / 0.544 GB, free: 18.72 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.00106/0.3108, allocations: 0.8692 MB / 0.5449 GB, free: 18.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3109, allocations: 9.906 kB / 0.5449 GB, free: 18.06 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001196/0.311, allocations: 126 kB / 0.545 GB, free: 17.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007013/0.3117, allocations: 172.7 kB / 0.5452 GB, free: 17.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/0.3122, allocations: 458.8 kB / 0.5456 GB, free: 17.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.3122, allocations: 31.5 kB / 0.5456 GB, free: 17.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.056e-05/0.3123, allocations: 52.69 kB / 0.5457 GB, free: 17.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.3137, allocations: 1.242 MB / 0.5469 GB, free: 16.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.3137, allocations: 7.078 kB / 0.5469 GB, free: 16.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/0.3138, allocations: 27.38 kB / 0.5469 GB, free: 16.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003846/0.3142, allocations: 242.3 kB / 0.5472 GB, free: 16.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.3154, allocations: 0.8117 MB / 0.548 GB, free: 16.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003398/0.3188, allocations: 5.073 MB / 0.5529 GB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.3189, allocations: 72.16 kB / 0.553 GB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.319, allocations: 51.05 kB / 0.553 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.3191, allocations: 7.984 kB / 0.553 GB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.3191, allocations: 35.44 kB / 0.5531 GB, free: 12.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.903e-06/0.3191, allocations: 0 / 0.5531 GB, free: 12.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005158/0.3196, allocations: 227.6 kB / 0.5533 GB, free: 12.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.3196, allocations: 57.12 kB / 0.5533 GB, free: 12.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008882/0.3205, allocations: 0.8515 MB / 0.5542 GB, free: 11.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.3206, allocations: 25.7 kB / 0.5542 GB, free: 11.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002687/0.3208, allocations: 0.5307 MB / 0.5547 GB, free: 11.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.3209, allocations: 32.3 kB / 0.5548 GB, free: 11.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.3209, allocations: 18.69 kB / 0.5548 GB, free: 11.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.321, allocations: 375.8 kB / 0.5551 GB, free: 11.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002892/0.3213, allocations: 180.6 kB / 0.5553 GB, free: 10.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005126/0.3218, allocations: 0.741 MB / 0.556 GB, free: 10.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007968/0.3226, allocations: 0.9881 MB / 0.557 GB, free: 9.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.3226, allocations: 9.469 kB / 0.557 GB, free: 9.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001194/0.3238, allocations: 0.873 MB / 0.5579 GB, free: 8.832 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.3239, allocations: 20.8 kB / 0.5579 GB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.3239, allocations: 23.88 kB / 0.5579 GB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.475e-05/0.3239, allocations: 27.53 kB / 0.5579 GB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004535/0.3244, allocations: 178.9 kB / 0.5581 GB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.604e-05/0.3244, allocations: 38.7 kB / 0.5581 GB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004852/0.3249, allocations: 124.6 kB / 0.5582 GB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.325, allocations: 51.23 kB / 0.5583 GB, free: 8.711 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.arrowLine.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003836/0.3254, allocations: 390.4 kB / 0.5587 GB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/0.3254, allocations: 62.03 kB / 0.5587 GB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.323e-05/0.3255, allocations: 62.91 kB / 0.5588 GB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3255, allocations: 3.984 kB / 0.5588 GB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.3256, allocations: 1.406 kB / 0.5588 GB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3256, allocations: 0.5156 kB / 0.5588 GB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005825/0.3262, allocations: 0.5493 MB / 0.5593 GB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3262, allocations: 2.125 kB / 0.5593 GB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.476e-05/0.3263, allocations: 18.27 kB / 0.5593 GB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3263, allocations: 0 / 0.5593 GB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3263, allocations: 6.766 kB / 0.5594 GB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3263, allocations: 0 / 0.5594 GB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3263, allocations: 3.938 kB / 0.5594 GB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.3266, allocations: 284.3 kB / 0.5596 GB, free: 7.898 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-05/0.3267, allocations: 139.2 kB / 0.5598 GB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/0.3268, allocations: 0.75 kB / 0.5598 GB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.327, allocations: 10.44 kB / 0.5598 GB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/0.327, allocations: 12.45 kB / 0.5598 GB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.327, allocations: 5.688 kB / 0.5598 GB, free: 7.758 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006052/0.3277, allocations: 0.5454 MB / 0.5603 GB, free: 7.539 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3277, allocations: 1.094 kB / 0.5603 GB, free: 7.539 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006113/0.3283, allocations: 160.5 kB / 0.5605 GB, free: 7.496 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005009/0.3288, allocations: 0.8117 MB / 0.5613 GB, free: 6.785 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006305/0.3294, allocations: 428.9 kB / 0.5617 GB, free: 6.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3294, allocations: 0 / 0.5617 GB, free: 6.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.3296, allocations: 57.31 kB / 0.5617 GB, free: 6.648 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005377/0.3301, allocations: 93.69 kB / 0.5618 GB, free: 6.613 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005172/0.3353, allocations: 4.328 MB / 0.566 GB, free: 3.754 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/0.3358, allocations: 1.025 MB / 0.5671 GB, free: 2.879 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002547/0.3361, allocations: 266.5 kB / 0.5673 GB, free: 2.656 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3361, allocations: 3.938 kB / 0.5673 GB, free: 2.652 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.061/3.397, allocations: 10.71 MB / 0.5778 GB, free: 8.496 MB / 394.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches