Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001412/0.001412, allocations: 105 kB / 19.74 MB, free: 2.453 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.001616/0.001616, allocations: 217.6 kB / 22.92 MB, free: 5.195 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.287/1.287, allocations: 230.2 MB / 256.2 MB, free: 8.574 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1971/0.1971, allocations: 46.87 MB / 359.3 MB, free: 4.965 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 83.8 kB / 0.494 GB, free: 9.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2493, allocations: 65.98 MB / 0.5584 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009049/0.2584, allocations: 8.755 MB / 0.567 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003697/0.2621, allocations: 2.314 MB / 0.5692 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004381/0.2625, allocations: 43.88 kB / 0.5693 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002615/0.2651, allocations: 1.561 MB / 0.5708 GB, free: 8.465 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007966/0.2659, allocations: 497.3 kB / 0.5713 GB, free: 7.977 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.2661, allocations: 67.91 kB / 0.5713 GB, free: 7.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009235/0.2671, allocations: 0.9254 MB / 0.5722 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.2682, allocations: 1.104 MB / 0.5733 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004829/0.2687, allocations: 0.5332 MB / 0.5738 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008386/0.2695, allocations: 0.7161 MB / 0.5745 GB, free: 4.598 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001548/0.2697, allocations: 120 kB / 0.5747 GB, free: 4.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002386/0.2699, allocations: 128 kB / 0.5748 GB, free: 4.355 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006287/0.2705, allocations: 0.7361 MB / 0.5755 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006963/0.2712, allocations: 0.8541 MB / 0.5763 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002055/0.2733, allocations: 2.333 MB / 0.5786 GB, free: 424 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2733, allocations: 0 / 0.5786 GB, free: 424 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2733, allocations: 0 / 0.5786 GB, free: 424 kB / 414.1 MB Notification: Performance of Transformations before backend: time 2.258e-05/0.2733, allocations: 3.938 kB / 0.5786 GB, free: 420 kB / 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.002404/0.2757, allocations: 1.995 MB / 0.5806 GB, free: 14.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.2758, allocations: 8.031 kB / 0.5806 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003273/0.2761, allocations: 342.5 kB / 0.5809 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004918/0.2766, allocations: 227.4 kB / 0.5811 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009267/0.2775, allocations: 0.7151 MB / 0.5818 GB, free: 13.03 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.815e-05/0.2776, allocations: 115.4 kB / 0.5819 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.2778, allocations: 155.8 kB / 0.5821 GB, free: 12.76 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003699/0.2815, allocations: 3.387 MB / 0.5854 GB, free: 9.039 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.081e-05/0.2815, allocations: 19.81 kB / 0.5854 GB, free: 9.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.2816, allocations: 71.94 kB / 0.5855 GB, free: 8.949 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007005/0.2823, allocations: 0.6149 MB / 0.5861 GB, free: 8.336 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0026/0.2849, allocations: 1.858 MB / 0.5879 GB, free: 6.473 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01036/0.2953, allocations: 13.52 MB / 0.6011 GB, free: 8.531 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.817e-05/0.2954, allocations: 169.1 kB / 0.6012 GB, free: 8.355 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.019e-05/0.2954, allocations: 88.06 kB / 0.6013 GB, free: 8.266 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.2954, allocations: 75.28 kB / 0.6014 GB, free: 8.191 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/0.2955, allocations: 113.8 kB / 0.6015 GB, free: 8.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.2955, allocations: 0 / 0.6015 GB, free: 8.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.000202/0.2957, allocations: 148.9 kB / 0.6016 GB, free: 7.918 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.2957, allocations: 134.7 kB / 0.6018 GB, free: 7.773 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/0.2975, allocations: 1.655 MB / 0.6034 GB, free: 6.109 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.2975, allocations: 25.7 kB / 0.6034 GB, free: 6.078 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008874/0.2984, allocations: 1.412 MB / 0.6048 GB, free: 4.648 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.2985, allocations: 43.95 kB / 0.6048 GB, free: 4.605 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003972/0.2989, allocations: 431.1 kB / 0.6052 GB, free: 4.176 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.299, allocations: 353.9 kB / 0.6056 GB, free: 3.824 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005009/0.2995, allocations: 371.8 kB / 0.6059 GB, free: 3.457 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/0.3011, allocations: 1.937 MB / 0.6078 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00231/0.3034, allocations: 2.507 MB / 0.6103 GB, free: 13.39 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.009e-05/0.3034, allocations: 16 kB / 0.6103 GB, free: 13.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002826/0.3063, allocations: 2.127 MB / 0.6124 GB, free: 11.24 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.669e-05/0.3063, allocations: 28 kB / 0.6124 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.778e-05/0.3063, allocations: 60 kB / 0.6125 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.804e-05/0.3064, allocations: 72 kB / 0.6125 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.3075, allocations: 483.1 kB / 0.613 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.973e-05/0.3075, allocations: 119.5 kB / 0.6131 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.3087, allocations: 333.4 kB / 0.6134 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.3088, allocations: 140 kB / 0.6135 GB, free: 10.03 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.0008529/0.3096, allocations: 0.8591 MB / 0.6144 GB, free: 9.16 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.3098, allocations: 236 kB / 0.6146 GB, free: 8.922 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.31, allocations: 232.2 kB / 0.6148 GB, free: 8.684 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.481e-05/0.31, allocations: 180.3 kB / 0.615 GB, free: 8.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.999e-05/0.3101, allocations: 184.2 kB / 0.6152 GB, free: 8.312 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-05/0.3102, allocations: 176.3 kB / 0.6154 GB, free: 8.133 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.3116, allocations: 1.481 MB / 0.6168 GB, free: 6.594 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-05/0.3116, allocations: 105 kB / 0.6169 GB, free: 6.484 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.209e-05/0.3117, allocations: 105 kB / 0.617 GB, free: 6.375 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.588e-05/0.3117, allocations: 192.2 kB / 0.6172 GB, free: 6.18 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.657e-05/0.3118, allocations: 176.3 kB / 0.6173 GB, free: 6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.851e-05/0.3119, allocations: 184.2 kB / 0.6175 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.371e-05/0.3119, allocations: 176.3 kB / 0.6177 GB, free: 5.633 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.3122, allocations: 441.9 kB / 0.6181 GB, free: 5.176 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002447/0.3124, allocations: 297.2 kB / 0.6184 GB, free: 4.859 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.3126, allocations: 180.2 kB / 0.6186 GB, free: 4.676 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.3128, allocations: 109 kB / 0.6187 GB, free: 4.562 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.75e-05/0.3129, allocations: 180.3 kB / 0.6188 GB, free: 4.379 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.3129, allocations: 104.9 kB / 0.6189 GB, free: 4.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001161/0.3141, allocations: 1.018 MB / 0.6199 GB, free: 3.254 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3141, allocations: 0 / 0.6199 GB, free: 3.254 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001345/0.3154, allocations: 434.7 kB / 0.6204 GB, free: 2.828 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.0005192/0.316, allocations: 0.9445 MB / 0.6213 GB, free: 1.855 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.3171, allocations: 0.8714 MB / 0.6221 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3171, allocations: 0 / 0.6221 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.3171, allocations: 0 / 0.6221 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007315/0.3178, allocations: 0.5763 MB / 0.6227 GB, free: 424 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01505/0.3329, allocations: 13.59 MB / 0.636 GB, free: 1.031 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/0.3342, allocations: 1.583 MB / 0.6375 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009818/0.3352, allocations: 495.2 kB / 0.638 GB, free: 14.93 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006759/0.3359, allocations: 0.6633 MB / 0.6386 GB, free: 14.26 MB / 494.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3359, allocations: 0 / 0.6386 GB, free: 14.26 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04725/0.3831, allocations: 21.88 MB / 0.66 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.961/9.344, allocations: 15.86 kB / 0.66 GB, free: 8.488 MB / 0.4981 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.814933309011394]