Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.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.001582/0.001582, allocations: 105.8 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.001999/0.001999, allocations: 221 kB / 22.92 MB, free: 5.531 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.286/1.286, 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.1978/0.1978, allocations: 46.89 MB / 359.3 MB, free: 4.988 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.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_PrismaticInit",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.002116/0.002116, allocations: 91.83 kB / 0.494 GB, free: 9.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.274, allocations: 65.96 MB / 0.5584 GB, free: 33.94 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.006719/0.2807, allocations: 8.707 MB / 0.5669 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004701/0.2854, allocations: 3.518 MB / 0.5704 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006145/0.286, allocations: 46.69 kB / 0.5704 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00195/0.288, allocations: 1.381 MB / 0.5717 GB, free: 24.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.2895, allocations: 0.9297 MB / 0.5727 GB, free: 24.44 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008024/0.2903, allocations: 0.5163 MB / 0.5732 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001687/0.292, allocations: 1.728 MB / 0.5748 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.2932, allocations: 1.162 MB / 0.576 GB, free: 23.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007216/0.2939, allocations: 0.6575 MB / 0.5766 GB, free: 22.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.2949, allocations: 0.9504 MB / 0.5775 GB, free: 22.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001991/0.2951, allocations: 138.4 kB / 0.5777 GB, free: 22.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009673/0.2961, allocations: 0.5912 MB / 0.5783 GB, free: 22.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006498/0.2968, allocations: 0.7404 MB / 0.579 GB, free: 22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006379/0.2974, allocations: 0.832 MB / 0.5798 GB, free: 21.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002457/0.2999, allocations: 2.483 MB / 0.5822 GB, free: 20.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2999, allocations: 0 / 0.5822 GB, free: 20.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2999, allocations: 0 / 0.5822 GB, free: 20.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.747e-05/0.2999, allocations: 0 / 0.5822 GB, free: 20.52 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.003054/0.303, allocations: 2.058 MB / 0.5842 GB, free: 19.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.303, allocations: 8.688 kB / 0.5842 GB, free: 19.26 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002617/0.3033, allocations: 240.4 kB / 0.5845 GB, free: 19.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.3043, allocations: 291.8 kB / 0.5847 GB, free: 19.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001885/0.3062, allocations: 1.287 MB / 0.586 GB, free: 18.35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.639e-05/0.3063, allocations: 100.5 kB / 0.5861 GB, free: 18.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/0.3065, allocations: 121.8 kB / 0.5862 GB, free: 18.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004789/0.3113, allocations: 3.001 MB / 0.5891 GB, free: 16.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.154e-05/0.3113, allocations: 14.19 kB / 0.5892 GB, free: 16.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.3114, allocations: 55.81 kB / 0.5892 GB, free: 16.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006036/0.312, allocations: 431.6 kB / 0.5896 GB, free: 16.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004312/0.3163, allocations: 2.193 MB / 0.5918 GB, free: 16.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009191/0.3255, allocations: 10.71 MB / 0.6022 GB, free: 7.852 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003513/0.329, allocations: 1.199 MB / 0.6034 GB, free: 7.289 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004663/0.3295, allocations: 369.1 kB / 0.6037 GB, free: 7.105 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002912/0.3324, allocations: 3.081 MB / 0.6068 GB, free: 4.559 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.3324, allocations: 38.28 kB / 0.6068 GB, free: 4.516 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 1.973e-06/0.3324, allocations: 0 / 0.6068 GB, free: 4.516 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01031/0.3428, allocations: 3.813 MB / 0.6105 GB, free: 1.164 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.3428, allocations: 85.67 kB / 0.6106 GB, free: 1.062 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.344, allocations: 1.198 MB / 0.6118 GB, free: 15.85 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.344, allocations: 37.62 kB / 0.6118 GB, free: 15.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006707/0.3447, allocations: 0.9624 MB / 0.6127 GB, free: 14.84 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.3449, allocations: 230.2 kB / 0.613 GB, free: 14.61 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003721/0.3452, allocations: 311.3 kB / 0.6133 GB, free: 14.29 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3453, allocations: 301.1 kB / 0.6135 GB, free: 14 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006219/0.346, allocations: 423.7 kB / 0.6139 GB, free: 13.58 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.3472, allocations: 1.242 MB / 0.6152 GB, free: 11.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002007/0.3492, allocations: 1.81 MB / 0.6169 GB, free: 9.703 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.3492, allocations: 8 kB / 0.6169 GB, free: 9.695 MB / 462.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002474/0.3517, allocations: 1.719 MB / 0.6186 GB, free: 7.965 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.3517, allocations: 16.19 kB / 0.6186 GB, free: 7.949 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.104e-05/0.3517, allocations: 36 kB / 0.6187 GB, free: 7.914 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001926/0.3519, allocations: 80.83 kB / 0.6187 GB, free: 7.832 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.3529, allocations: 359.3 kB / 0.6191 GB, free: 7.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.3545, allocations: 1.873 MB / 0.6209 GB, free: 5.465 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007918/0.3553, allocations: 67.98 kB / 0.621 GB, free: 5.398 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-05/0.3554, allocations: 87.94 kB / 0.6211 GB, free: 5.312 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008997/0.3563, allocations: 0.6517 MB / 0.6217 GB, free: 4.652 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.3564, allocations: 119.2 kB / 0.6218 GB, free: 4.535 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.3567, allocations: 135.7 kB / 0.6219 GB, free: 4.398 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.3567, allocations: 7.984 kB / 0.622 GB, free: 4.391 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.3567, allocations: 0 / 0.622 GB, free: 4.391 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3567, allocations: 0 / 0.622 GB, free: 4.391 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003151/0.3598, allocations: 2.243 MB / 0.6241 GB, free: 2.039 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.3598, allocations: 8.094 kB / 0.6242 GB, free: 2.031 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003642/0.3602, allocations: 95.83 kB / 0.6242 GB, free: 1.938 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001614/0.3604, allocations: 68.8 kB / 0.6243 GB, free: 1.867 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.3604, allocations: 16 kB / 0.6243 GB, free: 1.852 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001606/0.362, allocations: 1.933 MB / 0.6262 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.362, allocations: 7.938 kB / 0.6262 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.3635, allocations: 1.125 MB / 0.6273 GB, free: 14.59 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.3637, allocations: 184.3 kB / 0.6275 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.126e-05/0.3638, allocations: 16 kB / 0.6275 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.3641, allocations: 27.92 kB / 0.6275 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.3642, allocations: 47.94 kB / 0.6276 GB, free: 14.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.3642, allocations: 20 kB / 0.6276 GB, free: 14.28 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009207/0.3651, allocations: 0.7635 MB / 0.6283 GB, free: 13.51 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3651, allocations: 0 / 0.6283 GB, free: 13.51 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001137/0.3663, allocations: 295.9 kB / 0.6286 GB, free: 13.22 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001862/0.3681, allocations: 1.683 MB / 0.6303 GB, free: 11.45 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001566/0.3697, allocations: 1.066 MB / 0.6313 GB, free: 10.39 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3697, allocations: 4 kB / 0.6313 GB, free: 10.38 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005508/0.3702, allocations: 395.5 kB / 0.6317 GB, free: 9.984 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000871/0.3711, allocations: 189 kB / 0.6319 GB, free: 9.801 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01392/0.385, allocations: 11.52 MB / 0.6431 GB, free: 13.22 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/0.3862, allocations: 1.443 MB / 0.6445 GB, free: 11.74 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008609/0.3871, allocations: 417.7 kB / 0.6449 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006584/0.3877, allocations: 0.5774 MB / 0.6455 GB, free: 10.75 MB / 494.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3877, allocations: 0 / 0.6455 GB, free: 10.75 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05537/0.4431, allocations: 23.22 MB / 0.6682 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.83, allocations: 11.73 kB / 0.6682 GB, free: 3.727 MB / 0.4981 GB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.391967294999631]