Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 208.4 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2489/0.2489, allocations: 44.93 MB / 358.9 MB, free: 6.016 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 63.89 kB / 0.493 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3098, allocations: 65.48 MB / 0.557 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01087/0.3206, allocations: 7.666 MB / 0.5645 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004887/0.3255, allocations: 2.19 MB / 0.5666 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008721/0.3264, allocations: 43.94 kB / 0.5667 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003086/0.3295, allocations: 1.495 MB / 0.5681 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.3308, allocations: 493.3 kB / 0.5686 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.3311, allocations: 67.91 kB / 0.5686 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001276/0.3324, allocations: 0.9293 MB / 0.5696 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001485/0.3338, allocations: 1.201 MB / 0.5707 GB, free: 9.324 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006809/0.3345, allocations: 0.541 MB / 0.5713 GB, free: 8.781 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00096/0.3355, allocations: 0.6458 MB / 0.5719 GB, free: 8.133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002063/0.3357, allocations: 120 kB / 0.572 GB, free: 8.016 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003194/0.336, allocations: 124 kB / 0.5721 GB, free: 7.895 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006929/0.3367, allocations: 0.7439 MB / 0.5728 GB, free: 7.148 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007134/0.3374, allocations: 0.6444 MB / 0.5735 GB, free: 6.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00248/0.3399, allocations: 2.349 MB / 0.5758 GB, free: 4.141 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3399, allocations: 4 kB / 0.5758 GB, free: 4.137 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3399, allocations: 0 / 0.5758 GB, free: 4.137 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.287e-05/0.3399, allocations: 0 / 0.5758 GB, free: 4.137 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.002741/0.3427, allocations: 1.924 MB / 0.5776 GB, free: 2.172 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.3427, allocations: 8.031 kB / 0.5777 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003611/0.3431, allocations: 330.5 kB / 0.578 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005734/0.3437, allocations: 223.4 kB / 0.5782 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.345, allocations: 0.6702 MB / 0.5788 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.3451, allocations: 115.4 kB / 0.579 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/0.3453, allocations: 155.9 kB / 0.5791 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004368/0.3496, allocations: 3.383 MB / 0.5824 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.231e-05/0.3497, allocations: 15.88 kB / 0.5824 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.3498, allocations: 71.94 kB / 0.5825 GB, free: 12.85 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007541/0.3506, allocations: 0.6188 MB / 0.5831 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003197/0.3538, allocations: 1.858 MB / 0.5849 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01314/0.3669, allocations: 12.99 MB / 0.5976 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.367, allocations: 169.1 kB / 0.5977 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.092e-05/0.3671, allocations: 84.08 kB / 0.5978 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.3671, allocations: 75.28 kB / 0.5979 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.212e-05/0.3671, allocations: 109.8 kB / 0.598 GB, free: 12.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.953e-06/0.3671, allocations: 0 / 0.598 GB, free: 12.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002614/0.3674, allocations: 152.8 kB / 0.5982 GB, free: 12.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.221e-05/0.3675, allocations: 130.7 kB / 0.5983 GB, free: 12.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/0.3696, allocations: 1.747 MB / 0.6 GB, free: 10.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.3696, allocations: 29.69 kB / 0.6 GB, free: 10.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001018/0.3707, allocations: 1.419 MB / 0.6014 GB, free: 8.965 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.727e-05/0.3707, allocations: 43.95 kB / 0.6014 GB, free: 8.922 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004566/0.3712, allocations: 423.2 kB / 0.6018 GB, free: 8.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3713, allocations: 357.9 kB / 0.6022 GB, free: 8.145 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005418/0.3719, allocations: 375.8 kB / 0.6025 GB, free: 7.773 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001807/0.3737, allocations: 1.925 MB / 0.6044 GB, free: 5.031 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002784/0.3765, allocations: 2.507 MB / 0.6069 GB, free: 1.723 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.611e-05/0.3765, allocations: 20 kB / 0.6069 GB, free: 1.703 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003433/0.3799, allocations: 2.123 MB / 0.609 GB, free: 15.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.125e-05/0.38, allocations: 30.97 kB / 0.609 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-05/0.3801, allocations: 56 kB / 0.609 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.158e-05/0.3801, allocations: 76 kB / 0.6091 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.3813, allocations: 487 kB / 0.6096 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001004/0.3814, allocations: 107.6 kB / 0.6097 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.3829, allocations: 329.5 kB / 0.61 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.383, allocations: 144.3 kB / 0.6101 GB, free: 14.37 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (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],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * 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.001147/0.3842, allocations: 0.8666 MB / 0.611 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002513/0.3844, allocations: 232.1 kB / 0.6112 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002204/0.3846, allocations: 236.1 kB / 0.6114 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.075e-05/0.3847, allocations: 180.3 kB / 0.6116 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.851e-05/0.3848, allocations: 184.2 kB / 0.6118 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.209e-05/0.3849, allocations: 184.3 kB / 0.612 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/0.3867, allocations: 1.418 MB / 0.6133 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-05/0.3868, allocations: 112.9 kB / 0.6134 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.657e-05/0.3868, allocations: 101 kB / 0.6135 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.969e-05/0.3869, allocations: 184.2 kB / 0.6137 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.397e-05/0.387, allocations: 176.3 kB / 0.6139 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.9e-05/0.3871, allocations: 180.2 kB / 0.6141 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.173e-05/0.3872, allocations: 184.2 kB / 0.6142 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.3875, allocations: 441.9 kB / 0.6147 GB, free: 9.562 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000334/0.3878, allocations: 228 kB / 0.6149 GB, free: 9.332 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.388, allocations: 180.3 kB / 0.615 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/0.3883, allocations: 108.9 kB / 0.6151 GB, free: 9.035 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.938e-05/0.3884, allocations: 180.2 kB / 0.6153 GB, free: 8.852 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-05/0.3885, allocations: 108.9 kB / 0.6154 GB, free: 8.738 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001425/0.3899, allocations: 1.014 MB / 0.6164 GB, free: 7.727 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3899, allocations: 0 / 0.6164 GB, free: 7.727 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001722/0.3916, allocations: 430.7 kB / 0.6168 GB, free: 7.305 MB / 462.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 (0): * Single equations (assignments): 0 * 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.0006573/0.3923, allocations: 0.9407 MB / 0.6177 GB, free: 6.336 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00137/0.3937, allocations: 0.8763 MB / 0.6186 GB, free: 5.473 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3937, allocations: 0 / 0.6186 GB, free: 5.473 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.787e-06/0.3937, allocations: 4 kB / 0.6186 GB, free: 5.469 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008296/0.3945, allocations: 0.5702 MB / 0.6192 GB, free: 4.895 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01902/0.4135, allocations: 13.59 MB / 0.6324 GB, free: 5.512 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/0.4148, allocations: 0.9924 MB / 0.6334 GB, free: 4.477 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001151/0.416, allocations: 0.4953 MB / 0.6339 GB, free: 3.977 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007832/0.4168, allocations: 0.6671 MB / 0.6345 GB, free: 3.309 MB / 478.1 MB Notification: Performance of SimCode: time 1.393e-06/0.4168, allocations: 0 / 0.6345 GB, free: 3.309 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05897/0.4758, allocations: 22.28 MB / 0.6563 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.64, allocations: 0 / 0.6563 GB, free: 13.36 MB / 0.4981 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.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: 15.72974964324385]