Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 105.2 kB / 17.32 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 193.3 kB / 18.25 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 241.9 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2135/0.2135, allocations: 44.18 MB / 336.2 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 60.16 kB / 408 MB, free: 27.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1299, allocations: 60.83 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.02116/0.1511, allocations: 20.35 MB / 489.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009421/0.1605, allocations: 4.207 MB / 493.4 MB, free: 5.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002644/0.1632, allocations: 79.88 kB / 493.5 MB, free: 5.902 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.1645, allocations: 0.5842 MB / 494 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004743/0.1651, allocations: 203 kB / 494.2 MB, free: 5.117 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.1653, allocations: 43.94 kB / 494.3 MB, free: 5.074 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004648/0.1658, allocations: 466 kB / 494.7 MB, free: 4.617 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006457/0.1664, allocations: 0.5417 MB / 495.3 MB, free: 4.074 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.1667, allocations: 243 kB / 495.5 MB, free: 3.836 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004145/0.1671, allocations: 330.8 kB / 495.8 MB, free: 3.512 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.509e-05/0.1672, allocations: 47.94 kB / 495.9 MB, free: 3.465 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.1674, allocations: 75.95 kB / 496 MB, free: 3.391 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002404/0.1676, allocations: 287.2 kB / 496.2 MB, free: 3.109 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000264/0.1679, allocations: 357.7 kB / 496.6 MB, free: 2.758 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007451/0.1687, allocations: 0.8876 MB / 497.5 MB, free: 1.867 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1687, allocations: 3.938 kB / 497.5 MB, free: 1.863 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1687, allocations: 0 / 497.5 MB, free: 1.863 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.1687, allocations: 0 / 497.5 MB, free: 1.863 MB / 366.1 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.001364/0.1701, allocations: 1.005 MB / 498.5 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1701, allocations: 8.031 kB / 498.5 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001223/0.1702, allocations: 123.3 kB / 498.6 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004939/0.1707, allocations: 131.7 kB / 498.7 MB, free: 0.543 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005149/0.1713, allocations: 453.5 kB / 499.2 MB, free: 60 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.1713, allocations: 29.36 kB / 499.2 MB, free: 32 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.453e-05/0.1714, allocations: 55.97 kB / 499.3 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.1728, allocations: 1.237 MB / 0.4888 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.1728, allocations: 7.984 kB / 0.4888 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.889e-05/0.1728, allocations: 23.97 kB / 0.4888 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003704/0.1732, allocations: 252.8 kB / 0.489 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.1744, allocations: 0.7998 MB / 0.4898 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003826/0.1782, allocations: 5.066 MB / 0.4948 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.1783, allocations: 62.47 kB / 0.4948 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.1785, allocations: 44.91 kB / 0.4949 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.1785, allocations: 4 kB / 0.4949 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.1785, allocations: 38.44 kB / 0.4949 GB, free: 8.109 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.1785, allocations: 0 / 0.4949 GB, free: 8.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004601/0.179, allocations: 216.8 kB / 0.4951 GB, free: 7.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.179, allocations: 55.41 kB / 0.4952 GB, free: 7.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008708/0.1799, allocations: 0.8554 MB / 0.496 GB, free: 6.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.1799, allocations: 29.7 kB / 0.496 GB, free: 6.926 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003281/0.1803, allocations: 0.5321 MB / 0.4966 GB, free: 6.387 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.1803, allocations: 27.88 kB / 0.4966 GB, free: 6.359 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.1805, allocations: 170.3 kB / 0.4967 GB, free: 6.188 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1806, allocations: 382.8 kB / 0.4971 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.1809, allocations: 181.9 kB / 0.4973 GB, free: 5.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005891/0.1815, allocations: 0.739 MB / 0.498 GB, free: 4.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009319/0.1824, allocations: 0.9743 MB / 0.499 GB, free: 3.348 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/0.1825, allocations: 11.94 kB / 0.499 GB, free: 3.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001157/0.1836, allocations: 0.8681 MB / 0.4998 GB, free: 2.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.1837, allocations: 16 kB / 0.4998 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.1837, allocations: 20 kB / 0.4999 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/0.1837, allocations: 24 kB / 0.4999 GB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000457/0.1842, allocations: 187.6 kB / 0.5001 GB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.657e-05/0.1842, allocations: 36.42 kB / 0.5001 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.1847, allocations: 122.8 kB / 0.5002 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.911e-05/0.1848, allocations: 48 kB / 0.5003 GB, free: 2.016 MB / 382.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.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000367/0.1851, allocations: 391.7 kB / 0.5006 GB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.315e-05/0.1852, allocations: 59.16 kB / 0.5007 GB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.654e-05/0.1853, allocations: 69.44 kB / 0.5007 GB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1853, allocations: 0 / 0.5007 GB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1853, allocations: 0 / 0.5007 GB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1853, allocations: 4 kB / 0.5008 GB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005497/0.1859, allocations: 0.552 MB / 0.5013 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1859, allocations: 0 / 0.5013 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.583e-05/0.186, allocations: 19.92 kB / 0.5013 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.186, allocations: 4 kB / 0.5013 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.186, allocations: 7.922 kB / 0.5013 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.186, allocations: 0 / 0.5013 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.186, allocations: 0 / 0.5013 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003251/0.1863, allocations: 270.6 kB / 0.5016 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.1865, allocations: 132.3 kB / 0.5017 GB, free: 432 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.915e-05/0.1865, allocations: 3.984 kB / 0.5017 GB, free: 428 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.1867, allocations: 8 kB / 0.5017 GB, free: 420 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.1868, allocations: 11.98 kB / 0.5017 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.1868, allocations: 3.984 kB / 0.5017 GB, free: 404 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2419/0.4287, allocations: 0.5456 MB / 0.5023 GB, free: 51.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.363e-06/0.4288, allocations: 1.312 kB / 0.5023 GB, free: 51.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001215/0.43, allocations: 152 kB / 0.5024 GB, free: 51.67 MB / 382.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.0007507/0.4308, allocations: 0.8095 MB / 0.5032 GB, free: 51.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008162/0.4316, allocations: 416.5 kB / 0.5036 GB, free: 50.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4316, allocations: 3.344 kB / 0.5036 GB, free: 50.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.4318, allocations: 50.53 kB / 0.5036 GB, free: 50.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006772/0.4324, allocations: 96 kB / 0.5037 GB, free: 50.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007952/0.4404, allocations: 6.734 MB / 0.5103 GB, free: 46.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006648/0.4411, allocations: 1.034 MB / 0.5113 GB, free: 45.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000657/0.4418, allocations: 212.1 kB / 0.5115 GB, free: 45.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003064/0.4421, allocations: 252.7 kB / 0.5118 GB, free: 45.72 MB / 382.1 MB Notification: Performance of SimCode: time 6.92e-07/0.4421, allocations: 0 / 0.5118 GB, free: 45.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.4717, allocations: 11.1 MB / 0.5226 GB, free: 42.16 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/0.4719, allocations: 202.7 kB / 0.5228 GB, free: 41.9 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.055/2.527, allocations: 0 / 0.5228 GB, free: 41.9 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches