Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.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.001307/0.001307, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.00146/0.00146, allocations: 213.7 kB / 23.73 MB, free: 4.406 MB / 14.72 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 1.476/1.476, allocations: 230.5 MB / 257.4 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] 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.2333/0.2333, allocations: 46.95 MB / 360.8 MB, free: 3.949 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 75.88 kB / 0.4962 GB, free: 7.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3358, allocations: 66.09 MB / 0.5607 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01021/0.346, allocations: 7.659 MB / 0.5682 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005694/0.3517, allocations: 2.19 MB / 0.5703 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.3528, allocations: 47.88 kB / 0.5704 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003063/0.3558, allocations: 1.487 MB / 0.5718 GB, free: 8.598 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.3573, allocations: 497.3 kB / 0.5723 GB, free: 8.109 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.3576, allocations: 75.83 kB / 0.5724 GB, free: 8.035 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001136/0.3587, allocations: 0.9176 MB / 0.5733 GB, free: 7.113 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/0.3601, allocations: 1.209 MB / 0.5745 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007063/0.3608, allocations: 0.5372 MB / 0.575 GB, free: 5.336 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009764/0.3618, allocations: 0.6575 MB / 0.5756 GB, free: 4.676 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002012/0.362, allocations: 120 kB / 0.5757 GB, free: 4.559 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003071/0.3623, allocations: 111.9 kB / 0.5758 GB, free: 4.449 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007399/0.3631, allocations: 0.7517 MB / 0.5766 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000661/0.3637, allocations: 0.6406 MB / 0.5772 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002378/0.3661, allocations: 2.349 MB / 0.5795 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3661, allocations: 7.938 kB / 0.5795 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3661, allocations: 0 / 0.5795 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.132e-05/0.3661, allocations: 0 / 0.5795 GB, free: 0.6836 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.002553/0.3687, allocations: 1.916 MB / 0.5814 GB, free: 14.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3687, allocations: 8.031 kB / 0.5814 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003352/0.3691, allocations: 330.5 kB / 0.5817 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005512/0.3696, allocations: 227.4 kB / 0.5819 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.3708, allocations: 0.6702 MB / 0.5826 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/0.371, allocations: 115.4 kB / 0.5827 GB, free: 13.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001834/0.3711, allocations: 151.9 kB / 0.5828 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004085/0.3752, allocations: 3.379 MB / 0.5861 GB, free: 9.492 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.25e-05/0.3753, allocations: 19.81 kB / 0.5861 GB, free: 9.473 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.3754, allocations: 75.94 kB / 0.5862 GB, free: 9.398 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000713/0.3761, allocations: 0.6149 MB / 0.5868 GB, free: 8.785 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002911/0.379, allocations: 1.858 MB / 0.5886 GB, free: 6.926 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01273/0.3917, allocations: 12.97 MB / 0.6013 GB, free: 9.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.3919, allocations: 169.1 kB / 0.6015 GB, free: 9.344 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.403e-05/0.3919, allocations: 88.02 kB / 0.6015 GB, free: 9.254 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.3919, allocations: 79.28 kB / 0.6016 GB, free: 9.176 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.565e-05/0.392, allocations: 113.8 kB / 0.6017 GB, free: 9.055 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.623e-06/0.392, allocations: 0 / 0.6017 GB, free: 9.055 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002649/0.3923, allocations: 152.9 kB / 0.6019 GB, free: 8.898 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.19e-05/0.3923, allocations: 134.6 kB / 0.602 GB, free: 8.754 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002122/0.3945, allocations: 1.747 MB / 0.6037 GB, free: 6.996 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.3945, allocations: 29.7 kB / 0.6037 GB, free: 6.961 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001053/0.3955, allocations: 1.412 MB / 0.6051 GB, free: 5.531 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.3956, allocations: 43.95 kB / 0.6052 GB, free: 5.488 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004665/0.396, allocations: 427.2 kB / 0.6056 GB, free: 5.062 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.3962, allocations: 353.9 kB / 0.6059 GB, free: 4.711 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005197/0.3967, allocations: 379.8 kB / 0.6063 GB, free: 4.336 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001959/0.3987, allocations: 1.933 MB / 0.6081 GB, free: 1.586 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003143/0.4018, allocations: 2.507 MB / 0.6106 GB, free: 14.27 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.754e-05/0.4019, allocations: 16 kB / 0.6106 GB, free: 14.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.0036/0.4055, allocations: 2.116 MB / 0.6127 GB, free: 12.13 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.845e-05/0.4055, allocations: 34.28 kB / 0.6127 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.987e-05/0.4056, allocations: 64.16 kB / 0.6128 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.182e-05/0.4057, allocations: 79.92 kB / 0.6128 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.4068, allocations: 487 kB / 0.6133 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-05/0.4069, allocations: 111.6 kB / 0.6134 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.4083, allocations: 325.5 kB / 0.6137 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.4085, allocations: 140 kB / 0.6139 GB, free: 10.92 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.001077/0.4096, allocations: 0.864 MB / 0.6147 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.4098, allocations: 236 kB / 0.6149 GB, free: 9.809 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/0.4099, allocations: 228.2 kB / 0.6151 GB, free: 9.57 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.543e-05/0.41, allocations: 184.3 kB / 0.6153 GB, free: 9.383 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.761e-05/0.4101, allocations: 184.3 kB / 0.6155 GB, free: 9.195 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-05/0.4102, allocations: 176.3 kB / 0.6157 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.4118, allocations: 1.422 MB / 0.6171 GB, free: 7.543 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.35e-05/0.4118, allocations: 105 kB / 0.6172 GB, free: 7.434 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.302e-05/0.4119, allocations: 112.9 kB / 0.6173 GB, free: 7.316 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-05/0.412, allocations: 176.3 kB / 0.6174 GB, free: 7.137 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.407e-05/0.412, allocations: 188.2 kB / 0.6176 GB, free: 6.945 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.868e-05/0.4121, allocations: 184.2 kB / 0.6178 GB, free: 6.758 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-05/0.4122, allocations: 176.3 kB / 0.618 GB, free: 6.578 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.4125, allocations: 441.9 kB / 0.6184 GB, free: 6.121 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002912/0.4127, allocations: 224.1 kB / 0.6186 GB, free: 5.895 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/0.4129, allocations: 180.2 kB / 0.6188 GB, free: 5.711 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.4132, allocations: 101 kB / 0.6189 GB, free: 5.605 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.467e-05/0.4133, allocations: 188.2 kB / 0.619 GB, free: 5.414 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.346e-05/0.4133, allocations: 101 kB / 0.6191 GB, free: 5.309 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001301/0.4146, allocations: 1.014 MB / 0.6201 GB, free: 4.297 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4146, allocations: 0 / 0.6201 GB, free: 4.297 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001604/0.4162, allocations: 438.6 kB / 0.6205 GB, free: 3.867 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.0006287/0.4169, allocations: 0.9445 MB / 0.6215 GB, free: 2.895 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00131/0.4182, allocations: 0.8683 MB / 0.6223 GB, free: 2.039 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.4182, allocations: 4 kB / 0.6223 GB, free: 2.035 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/0.4182, allocations: 0 / 0.6223 GB, free: 2.035 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008117/0.419, allocations: 0.5756 MB / 0.6229 GB, free: 1.453 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01683/0.4358, allocations: 13.59 MB / 0.6361 GB, free: 2.082 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001231/0.437, allocations: 0.9924 MB / 0.6371 GB, free: 1.047 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001103/0.4381, allocations: 495.2 kB / 0.6376 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007407/0.4389, allocations: 0.6673 MB / 0.6382 GB, free: 15.89 MB / 494.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4389, allocations: 0 / 0.6382 GB, free: 15.89 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05657/0.4955, allocations: 22.29 MB / 0.66 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.57, allocations: 4 kB / 0.66 GB, free: 9.859 MB / 0.4981 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.csv","/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_trunk_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.642835292965174]