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.001396/0.001396, allocations: 106.5 kB / 19.74 MB, free: 2.566 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.001569/0.001569, allocations: 218.5 kB / 22.92 MB, free: 5.535 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.297/1.297, allocations: 230.2 MB / 256.2 MB, free: 8.75 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.2017/0.2017, allocations: 46.89 MB / 359.3 MB, free: 5.09 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.002128/0.002128, allocations: 87.8 kB / 0.494 GB, free: 9.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2513, allocations: 65.98 MB / 0.5584 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009483/0.2608, allocations: 8.76 MB / 0.567 GB, free: 12.44 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003971/0.2647, allocations: 2.314 MB / 0.5692 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004305/0.2652, allocations: 43.94 kB / 0.5693 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002709/0.2679, allocations: 1.561 MB / 0.5708 GB, free: 8.504 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007992/0.2687, allocations: 0.489 MB / 0.5713 GB, free: 8.016 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.2689, allocations: 67.91 kB / 0.5713 GB, free: 7.949 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009729/0.2698, allocations: 0.9254 MB / 0.5722 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.2711, allocations: 1.1 MB / 0.5733 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005116/0.2716, allocations: 0.541 MB / 0.5739 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008729/0.2724, allocations: 0.7161 MB / 0.5746 GB, free: 4.633 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.2726, allocations: 120 kB / 0.5747 GB, free: 4.516 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002704/0.2729, allocations: 124 kB / 0.5748 GB, free: 4.395 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000631/0.2735, allocations: 0.74 MB / 0.5755 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007514/0.2743, allocations: 0.8541 MB / 0.5763 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002154/0.2764, allocations: 2.321 MB / 0.5786 GB, free: 472 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.2764, allocations: 4 kB / 0.5786 GB, free: 468 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2764, allocations: 3.938 kB / 0.5786 GB, free: 464 kB / 414.1 MB Notification: Performance of Transformations before backend: time 2.403e-05/0.2764, allocations: 4 kB / 0.5786 GB, free: 460 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.002465/0.2789, allocations: 1.995 MB / 0.5806 GB, free: 14.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.2789, allocations: 8.031 kB / 0.5806 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003343/0.2793, allocations: 334.5 kB / 0.5809 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005103/0.2798, allocations: 223.4 kB / 0.5811 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009308/0.2807, allocations: 0.719 MB / 0.5818 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.296e-05/0.2808, allocations: 123.3 kB / 0.5819 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.281, allocations: 151.9 kB / 0.5821 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00382/0.2848, allocations: 3.387 MB / 0.5854 GB, free: 9.078 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.06e-05/0.2848, allocations: 15.81 kB / 0.5854 GB, free: 9.062 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.285, allocations: 75.94 kB / 0.5855 GB, free: 8.988 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007249/0.2857, allocations: 0.6187 MB / 0.5861 GB, free: 8.371 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002754/0.2884, allocations: 1.858 MB / 0.5879 GB, free: 6.508 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01147/0.2999, allocations: 13.52 MB / 0.6011 GB, free: 8.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.164e-05/0.3, allocations: 165.1 kB / 0.6012 GB, free: 8.398 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.174e-05/0.3, allocations: 96.06 kB / 0.6013 GB, free: 8.301 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/0.3001, allocations: 75.28 kB / 0.6014 GB, free: 8.227 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.283e-05/0.3001, allocations: 109.8 kB / 0.6015 GB, free: 8.109 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.653e-06/0.3001, allocations: 0 / 0.6015 GB, free: 8.109 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002044/0.3003, allocations: 152.9 kB / 0.6017 GB, free: 7.953 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.008e-05/0.3004, allocations: 126.7 kB / 0.6018 GB, free: 7.816 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/0.3023, allocations: 1.659 MB / 0.6034 GB, free: 6.148 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.3023, allocations: 25.7 kB / 0.6034 GB, free: 6.117 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009264/0.3032, allocations: 1.412 MB / 0.6048 GB, free: 4.688 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.3032, allocations: 47.95 kB / 0.6048 GB, free: 4.641 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004106/0.3036, allocations: 431.1 kB / 0.6053 GB, free: 4.211 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3038, allocations: 353.9 kB / 0.6056 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004986/0.3043, allocations: 371.8 kB / 0.6059 GB, free: 3.492 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/0.306, allocations: 1.933 MB / 0.6078 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002403/0.3084, allocations: 2.504 MB / 0.6103 GB, free: 13.43 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.057e-05/0.3084, allocations: 16 kB / 0.6103 GB, free: 13.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002949/0.3113, allocations: 2.127 MB / 0.6124 GB, free: 11.28 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.3114, allocations: 28 kB / 0.6124 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.419e-05/0.3114, allocations: 56 kB / 0.6125 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-05/0.3115, allocations: 76 kB / 0.6125 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.3126, allocations: 487 kB / 0.613 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.08e-05/0.3127, allocations: 115.5 kB / 0.6131 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.3139, allocations: 329.5 kB / 0.6134 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/0.314, allocations: 140 kB / 0.6135 GB, free: 10.07 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.0009826/0.315, allocations: 0.8551 MB / 0.6144 GB, free: 9.207 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.3152, allocations: 244 kB / 0.6146 GB, free: 8.961 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.3154, allocations: 224.2 kB / 0.6148 GB, free: 8.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.142e-05/0.3154, allocations: 176.3 kB / 0.615 GB, free: 8.551 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.883e-05/0.3155, allocations: 196.2 kB / 0.6152 GB, free: 8.352 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.716e-05/0.3156, allocations: 176.3 kB / 0.6154 GB, free: 8.172 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.3171, allocations: 1.485 MB / 0.6168 GB, free: 6.629 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-05/0.3171, allocations: 101 kB / 0.6169 GB, free: 6.523 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.174e-05/0.3172, allocations: 101 kB / 0.617 GB, free: 6.418 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.405e-05/0.3172, allocations: 196.2 kB / 0.6172 GB, free: 6.219 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.731e-05/0.3173, allocations: 180.2 kB / 0.6174 GB, free: 6.035 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-05/0.3174, allocations: 184.2 kB / 0.6175 GB, free: 5.848 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.537e-05/0.3175, allocations: 176.3 kB / 0.6177 GB, free: 5.668 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.3177, allocations: 441.9 kB / 0.6181 GB, free: 5.211 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002498/0.318, allocations: 293.2 kB / 0.6184 GB, free: 4.898 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.3181, allocations: 184.2 kB / 0.6186 GB, free: 4.711 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.3184, allocations: 113 kB / 0.6187 GB, free: 4.594 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.389e-05/0.3185, allocations: 176.3 kB / 0.6189 GB, free: 4.414 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.056e-05/0.3185, allocations: 108.9 kB / 0.619 GB, free: 4.301 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001223/0.3198, allocations: 1.014 MB / 0.6199 GB, free: 3.289 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3198, allocations: 0 / 0.6199 GB, free: 3.289 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001373/0.3211, allocations: 438.6 kB / 0.6204 GB, free: 2.859 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.0005546/0.3217, allocations: 0.9407 MB / 0.6213 GB, free: 1.891 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.3228, allocations: 0.8718 MB / 0.6221 GB, free: 1.031 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3228, allocations: 0 / 0.6221 GB, free: 1.031 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.3228, allocations: 0 / 0.6221 GB, free: 1.031 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007524/0.3236, allocations: 0.5681 MB / 0.6227 GB, free: 468 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01516/0.3387, allocations: 13.6 MB / 0.636 GB, free: 1.066 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/0.3401, allocations: 1.575 MB / 0.6375 GB, free: 15.46 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009872/0.3411, allocations: 499.2 kB / 0.638 GB, free: 14.96 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006895/0.3418, allocations: 0.6633 MB / 0.6386 GB, free: 14.3 MB / 494.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3418, allocations: 0 / 0.6386 GB, free: 14.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04768/0.3895, allocations: 21.89 MB / 0.66 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.993/9.383, allocations: 11.84 kB / 0.66 GB, free: 8.523 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.860494458000176]