Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Shapes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes",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.001602/0.001602, allocations: 105.3 kB / 16.4 MB, free: 6.457 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.001727/0.001727, allocations: 189.5 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2066/0.2066, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 65.45 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09084/0.09231, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009032/0.1014, allocations: 8.722 MB / 0.4959 GB, free: 3.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004219/0.1056, allocations: 2.259 MB / 0.4981 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00089/0.1066, allocations: 43.94 kB / 0.4982 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002957/0.1095, allocations: 1.519 MB / 0.4996 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.1108, allocations: 0.4895 MB / 0.5001 GB, free: 15.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.1111, allocations: 75.84 kB / 0.5002 GB, free: 15.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001235/0.1123, allocations: 0.9409 MB / 0.5011 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.114, allocations: 1.506 MB / 0.5026 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007262/0.1148, allocations: 0.541 MB / 0.5031 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009305/0.1157, allocations: 0.6849 MB / 0.5038 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002566/0.116, allocations: 124 kB / 0.5039 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003732/0.1164, allocations: 120 kB / 0.504 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006562/0.117, allocations: 0.7324 MB / 0.5047 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009164/0.1179, allocations: 0.8619 MB / 0.5056 GB, free: 9.578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002305/0.1203, allocations: 2.345 MB / 0.5079 GB, free: 7.223 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1203, allocations: 3.938 kB / 0.5079 GB, free: 7.219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1203, allocations: 0 / 0.5079 GB, free: 7.219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.332e-05/0.1204, allocations: 0 / 0.5079 GB, free: 7.219 MB / 398.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.003359/0.1238, allocations: 2.018 MB / 0.5098 GB, free: 5.141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.1238, allocations: 11.89 kB / 0.5098 GB, free: 5.129 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005004/0.1243, allocations: 330.5 kB / 0.5102 GB, free: 4.797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006918/0.125, allocations: 227.4 kB / 0.5104 GB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.1263, allocations: 0.7229 MB / 0.5111 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.99e-05/0.1264, allocations: 115.4 kB / 0.5112 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/0.1266, allocations: 155.9 kB / 0.5113 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004688/0.1313, allocations: 3.383 MB / 0.5146 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.574e-05/0.1314, allocations: 11.88 kB / 0.5147 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002291/0.1316, allocations: 75.94 kB / 0.5147 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007289/0.1324, allocations: 0.6185 MB / 0.5153 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003364/0.1357, allocations: 1.858 MB / 0.5171 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1985/0.3343, allocations: 13.51 MB / 0.5303 GB, free: 36.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.608e-05/0.3344, allocations: 169.2 kB / 0.5305 GB, free: 36.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.719e-05/0.3344, allocations: 83.89 kB / 0.5306 GB, free: 36.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.3344, allocations: 77.03 kB / 0.5307 GB, free: 36.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.3344, allocations: 110.7 kB / 0.5308 GB, free: 36.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.834e-06/0.3345, allocations: 0 / 0.5308 GB, free: 36.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002883/0.3347, allocations: 156.2 kB / 0.5309 GB, free: 36.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.3348, allocations: 134.6 kB / 0.531 GB, free: 36.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002265/0.3371, allocations: 1.655 MB / 0.5327 GB, free: 36.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.3371, allocations: 25.7 kB / 0.5327 GB, free: 36.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007157/0.3378, allocations: 1.418 MB / 0.5341 GB, free: 35.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.818e-05/0.3379, allocations: 44.95 kB / 0.5341 GB, free: 35.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003884/0.3383, allocations: 431.4 kB / 0.5345 GB, free: 35.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.619e-05/0.3384, allocations: 355.4 kB / 0.5349 GB, free: 35.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005626/0.3389, allocations: 375.8 kB / 0.5352 GB, free: 35.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.34, allocations: 1.927 MB / 0.5371 GB, free: 33.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001851/0.3419, allocations: 2.51 MB / 0.5395 GB, free: 30.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-05/0.342, allocations: 17.17 kB / 0.5396 GB, free: 30.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003214/0.3452, allocations: 2.119 MB / 0.5416 GB, free: 30.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.295e-05/0.3453, allocations: 30.44 kB / 0.5417 GB, free: 30.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-05/0.3454, allocations: 58.19 kB / 0.5417 GB, free: 30.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.206e-05/0.3455, allocations: 74.62 kB / 0.5418 GB, free: 30.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.3466, allocations: 493.8 kB / 0.5423 GB, free: 30.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.706e-05/0.3467, allocations: 112.9 kB / 0.5424 GB, free: 30.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.3481, allocations: 330.6 kB / 0.5427 GB, free: 29.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/0.3483, allocations: 137.1 kB / 0.5428 GB, free: 29.96 MB / 414.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.001024/0.3493, allocations: 0.8709 MB / 0.5437 GB, free: 29.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.3495, allocations: 236.1 kB / 0.5439 GB, free: 29.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/0.3497, allocations: 230.2 kB / 0.5441 GB, free: 29.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-05/0.3497, allocations: 177.7 kB / 0.5443 GB, free: 28.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.251e-05/0.3498, allocations: 181.9 kB / 0.5445 GB, free: 28.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.357e-05/0.3498, allocations: 181.8 kB / 0.5446 GB, free: 28.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/0.3518, allocations: 1.481 MB / 0.5461 GB, free: 27.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.631e-05/0.3518, allocations: 106.8 kB / 0.5462 GB, free: 27.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.493e-05/0.3518, allocations: 104.6 kB / 0.5463 GB, free: 27.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.448e-05/0.3518, allocations: 180.8 kB / 0.5464 GB, free: 27.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.3519, allocations: 179 kB / 0.5466 GB, free: 27.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.237e-05/0.3519, allocations: 184.8 kB / 0.5468 GB, free: 27.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.238e-05/0.3519, allocations: 178.1 kB / 0.547 GB, free: 26.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.3522, allocations: 442.1 kB / 0.5474 GB, free: 26.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/0.3525, allocations: 303 kB / 0.5477 GB, free: 26.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.3526, allocations: 186.2 kB / 0.5479 GB, free: 26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/0.353, allocations: 105.7 kB / 0.548 GB, free: 25.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.353, allocations: 187.1 kB / 0.5481 GB, free: 25.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.353, allocations: 110.1 kB / 0.5482 GB, free: 25.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001547/0.3546, allocations: 1.019 MB / 0.5492 GB, free: 25.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3546, allocations: 0 / 0.5492 GB, free: 25.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001853/0.3564, allocations: 436.2 kB / 0.5496 GB, free: 25.09 MB / 414.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.0004089/0.3569, allocations: 0.9383 MB / 0.5506 GB, free: 24.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.3583, allocations: 0.903 MB / 0.5514 GB, free: 23.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3583, allocations: 1.344 kB / 0.5514 GB, free: 23.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.564e-06/0.3583, allocations: 128 / 0.5514 GB, free: 23.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008891/0.3592, allocations: 0.5732 MB / 0.552 GB, free: 23.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01775/0.3769, allocations: 13.62 MB / 0.5653 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001746/0.3788, allocations: 1.578 MB / 0.5668 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001124/0.3799, allocations: 494.6 kB / 0.5673 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006728/0.3806, allocations: 0.6664 MB / 0.568 GB, free: 12.22 MB / 414.1 MB Notification: Performance of SimCode: time 1.493e-06/0.3806, allocations: 0 / 0.568 GB, free: 12.22 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04107/0.4217, allocations: 21.73 MB / 0.5892 GB, free: 9.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/10.51, allocations: 8.062 kB / 0.5892 GB, free: 9.562 MB / 430.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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.0004 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)