Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001825/0.001825, allocations: 107.5 kB / 21.21 MB, free: 0.6523 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.002134/0.002134, allocations: 212.5 kB / 24.51 MB, free: 3.941 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.504/1.504, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2399/0.2399, allocations: 46.96 MB / 361.7 MB, free: 4.012 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 67.88 kB / 0.4969 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.343, allocations: 66.03 MB / 0.5614 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009672/0.3527, allocations: 7.623 MB / 0.5688 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004786/0.3575, allocations: 2.174 MB / 0.5709 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008906/0.3584, allocations: 47.88 kB / 0.571 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00314/0.3615, allocations: 1.491 MB / 0.5724 GB, free: 8.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.3628, allocations: 489.3 kB / 0.5729 GB, free: 8.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.3631, allocations: 67.84 kB / 0.573 GB, free: 8.273 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.3643, allocations: 0.9254 MB / 0.5739 GB, free: 7.344 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001488/0.3658, allocations: 1.217 MB / 0.5751 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007238/0.3666, allocations: 0.541 MB / 0.5756 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.3677, allocations: 0.72 MB / 0.5763 GB, free: 4.832 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002578/0.3679, allocations: 120 kB / 0.5764 GB, free: 4.715 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003394/0.3682, allocations: 123.9 kB / 0.5765 GB, free: 4.594 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000757/0.369, allocations: 0.74 MB / 0.5772 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008001/0.3698, allocations: 0.6444 MB / 0.5779 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002594/0.3724, allocations: 2.357 MB / 0.5802 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3724, allocations: 0 / 0.5802 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3724, allocations: 0 / 0.5802 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.146e-05/0.3725, allocations: 0 / 0.5802 GB, free: 0.8359 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.00302/0.3755, allocations: 1.916 MB / 0.582 GB, free: 14.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.3755, allocations: 12.03 kB / 0.5821 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.297e-05/0.3756, allocations: 47.23 kB / 0.5821 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003939/0.376, allocations: 330.5 kB / 0.5824 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005933/0.3766, allocations: 227.4 kB / 0.5826 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.3778, allocations: 0.678 MB / 0.5833 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.3779, allocations: 119.1 kB / 0.5834 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/0.3781, allocations: 144 kB / 0.5835 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004651/0.3827, allocations: 3.379 MB / 0.5868 GB, free: 9.586 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.605e-05/0.3828, allocations: 15.88 kB / 0.5869 GB, free: 9.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/0.3829, allocations: 71.94 kB / 0.5869 GB, free: 9.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007782/0.3837, allocations: 0.6188 MB / 0.5875 GB, free: 8.883 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00336/0.3871, allocations: 1.862 MB / 0.5894 GB, free: 7.02 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01333/0.4004, allocations: 12.97 MB / 0.602 GB, free: 9.617 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.4005, allocations: 181 kB / 0.6022 GB, free: 9.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.854e-05/0.4006, allocations: 80.14 kB / 0.6023 GB, free: 9.348 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.171e-05/0.4006, allocations: 79.27 kB / 0.6023 GB, free: 9.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.643e-05/0.4007, allocations: 113.8 kB / 0.6025 GB, free: 9.148 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.954e-06/0.4007, allocations: 0 / 0.6025 GB, free: 9.148 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002954/0.401, allocations: 148.9 kB / 0.6026 GB, free: 8.996 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.025e-05/0.4011, allocations: 134.6 kB / 0.6027 GB, free: 8.852 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002261/0.4033, allocations: 1.647 MB / 0.6043 GB, free: 7.195 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.4033, allocations: 29.7 kB / 0.6044 GB, free: 7.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001156/0.4045, allocations: 1.416 MB / 0.6057 GB, free: 5.727 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.766e-05/0.4045, allocations: 47.89 kB / 0.6058 GB, free: 5.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005072/0.4051, allocations: 431.1 kB / 0.6062 GB, free: 5.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.4052, allocations: 357.9 kB / 0.6065 GB, free: 4.895 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005662/0.4058, allocations: 367.8 kB / 0.6069 GB, free: 4.531 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001826/0.4076, allocations: 1.925 MB / 0.6088 GB, free: 1.789 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00291/0.4106, allocations: 2.519 MB / 0.6112 GB, free: 14.46 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.958e-05/0.4106, allocations: 16 kB / 0.6112 GB, free: 14.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003707/0.4143, allocations: 2.123 MB / 0.6133 GB, free: 12.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.867e-05/0.4144, allocations: 28 kB / 0.6133 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.505e-05/0.4144, allocations: 56 kB / 0.6134 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.265e-05/0.4145, allocations: 76 kB / 0.6135 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.4157, allocations: 483.1 kB / 0.6139 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001247/0.4159, allocations: 111.6 kB / 0.614 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/0.4177, allocations: 334 kB / 0.6144 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/0.4178, allocations: 140 kB / 0.6145 GB, free: 11.12 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.001171/0.419, allocations: 0.8627 MB / 0.6153 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.4192, allocations: 232.1 kB / 0.6156 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.4194, allocations: 232.2 kB / 0.6158 GB, free: 9.766 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.817e-05/0.4195, allocations: 184.3 kB / 0.616 GB, free: 9.578 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.529e-05/0.4196, allocations: 180.3 kB / 0.6161 GB, free: 9.395 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.164e-05/0.4197, allocations: 188.2 kB / 0.6163 GB, free: 9.203 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.4214, allocations: 1.418 MB / 0.6177 GB, free: 7.734 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.963e-05/0.4214, allocations: 105 kB / 0.6178 GB, free: 7.625 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.567e-05/0.4215, allocations: 108.9 kB / 0.6179 GB, free: 7.512 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.877e-05/0.4216, allocations: 180.3 kB / 0.6181 GB, free: 7.328 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-05/0.4216, allocations: 180.2 kB / 0.6182 GB, free: 7.145 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.773e-05/0.4217, allocations: 176.3 kB / 0.6184 GB, free: 6.965 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.739e-05/0.4218, allocations: 188.2 kB / 0.6186 GB, free: 6.773 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002903/0.4221, allocations: 430 kB / 0.619 GB, free: 6.328 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002878/0.4224, allocations: 228 kB / 0.6192 GB, free: 6.098 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/0.4226, allocations: 188.2 kB / 0.6194 GB, free: 5.906 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.4229, allocations: 108.9 kB / 0.6195 GB, free: 5.793 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/0.423, allocations: 176.3 kB / 0.6197 GB, free: 5.613 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.694e-05/0.423, allocations: 105 kB / 0.6198 GB, free: 5.504 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001348/0.4243, allocations: 1.01 MB / 0.6208 GB, free: 4.496 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4243, allocations: 3.938 kB / 0.6208 GB, free: 4.492 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001678/0.426, allocations: 434.7 kB / 0.6212 GB, free: 4.066 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.0006348/0.4267, allocations: 0.9406 MB / 0.6221 GB, free: 3.098 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.4282, allocations: 0.872 MB / 0.6229 GB, free: 2.238 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4282, allocations: 0 / 0.6229 GB, free: 2.238 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.639e-06/0.4282, allocations: 7.938 kB / 0.6229 GB, free: 2.23 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008944/0.4291, allocations: 0.5856 MB / 0.6235 GB, free: 1.645 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01874/0.4478, allocations: 13.6 MB / 0.6368 GB, free: 2.262 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001273/0.4491, allocations: 0.9924 MB / 0.6378 GB, free: 1.227 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001138/0.4502, allocations: 499.2 kB / 0.6382 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007915/0.451, allocations: 0.6672 MB / 0.6389 GB, free: 68 kB / 478.1 MB Notification: Performance of SimCode: time 9.51e-07/0.451, allocations: 0 / 0.6389 GB, free: 68 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05418/0.5052, allocations: 22.69 MB / 0.6611 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.98/15.48, allocations: 3.859 kB / 0.6611 GB, free: 9.758 MB / 0.4981 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 19.32618752203416]