Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.001184/0.001184, 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.001318/0.001318, allocations: 218.4 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.282/1.282, 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.1983/0.1983, allocations: 46.89 MB / 359.3 MB, free: 4.984 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.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_RevoluteInitialization",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.002112/0.002112, allocations: 88.12 kB / 0.494 GB, free: 9.102 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2501, allocations: 65.98 MB / 0.5584 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01145/0.2616, allocations: 10.32 MB / 0.5685 GB, free: 10.85 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00698/0.2686, allocations: 3.831 MB / 0.5722 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.2697, allocations: 59.81 kB / 0.5723 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00374/0.2734, allocations: 1.97 MB / 0.5742 GB, free: 4.973 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003664/0.2771, allocations: 1.68 MB / 0.5759 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.2784, allocations: 0.6043 MB / 0.5765 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004309/0.2827, allocations: 3.357 MB / 0.5797 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002478/0.2852, allocations: 1.935 MB / 0.5816 GB, free: 13.33 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.2868, allocations: 1.242 MB / 0.5828 GB, free: 12.08 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002143/0.289, allocations: 1.81 MB / 0.5846 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000445/0.2894, allocations: 256 kB / 0.5848 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.2911, allocations: 1.053 MB / 0.5859 GB, free: 8.961 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001443/0.2926, allocations: 1.597 MB / 0.5874 GB, free: 7.359 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001721/0.2943, allocations: 1.817 MB / 0.5892 GB, free: 5.531 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005838/0.3001, allocations: 5.809 MB / 0.5949 GB, free: 15.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3001, allocations: 0 / 0.5949 GB, free: 15.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3001, allocations: 3.938 kB / 0.5949 GB, free: 15.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.462e-05/0.3002, allocations: 0 / 0.5949 GB, free: 15.7 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.006247/0.3065, allocations: 4.125 MB / 0.5989 GB, free: 11.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.3065, allocations: 12.03 kB / 0.5989 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006762/0.3072, allocations: 0.6082 MB / 0.5995 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005897/0.3131, allocations: 1.8 MB / 0.6013 GB, free: 9.062 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003316/0.3164, allocations: 2.163 MB / 0.6034 GB, free: 6.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.3165, allocations: 193 kB / 0.6036 GB, free: 6.648 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004445/0.317, allocations: 251.9 kB / 0.6038 GB, free: 6.402 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01214/0.3291, allocations: 8.451 MB / 0.6121 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.336e-05/0.3292, allocations: 39.69 kB / 0.6121 GB, free: 13.24 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000347/0.3296, allocations: 131.9 kB / 0.6122 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002691/0.3322, allocations: 1.695 MB / 0.6139 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/0.3447, allocations: 7.114 MB / 0.6208 GB, free: 4.281 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03663/0.3814, allocations: 34.08 MB / 0.6541 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007203/0.3886, allocations: 3.179 MB / 0.6572 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.3903, allocations: 1.364 MB / 0.6586 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005517/0.3958, allocations: 4.45 MB / 0.6629 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.3958, allocations: 55.06 kB / 0.663 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 2.876e-06/0.3958, allocations: 4 kB / 0.663 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.0268/0.4226, allocations: 11.74 MB / 0.6744 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/0.4227, allocations: 166.9 kB / 0.6746 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004562/0.4273, allocations: 3.73 MB / 0.6782 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001625/0.4275, allocations: 41.7 kB / 0.6783 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001973/0.4294, allocations: 2.862 MB / 0.6811 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000536/0.43, allocations: 0.5467 MB / 0.6816 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001257/0.4312, allocations: 1.095 MB / 0.6827 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.4313, allocations: 305.1 kB / 0.6829 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002334/0.4337, allocations: 1.701 MB / 0.6846 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004968/0.4386, allocations: 5.115 MB / 0.6896 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008289/0.4469, allocations: 7.417 MB / 0.6968 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.214e-05/0.447, allocations: 32 kB / 0.6969 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01041/0.4574, allocations: 6.723 MB / 0.7034 GB, free: 10.64 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.328e-05/0.4575, allocations: 59.94 kB / 0.7035 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001236/0.4576, allocations: 124.6 kB / 0.7036 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006037/0.4582, allocations: 320.7 kB / 0.7039 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003381/0.4616, allocations: 1.24 MB / 0.7051 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002564/0.4641, allocations: 2.493 MB / 0.7076 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002957/0.4671, allocations: 287.6 kB / 0.7078 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004088/0.4675, allocations: 339.9 kB / 0.7082 GB, free: 5.66 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 660 * Array equations: 3 * 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.002264/0.4698, allocations: 1.791 MB / 0.7099 GB, free: 3.855 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004444/0.4702, allocations: 325.8 kB / 0.7102 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004489/0.4747, allocations: 2.367 MB / 0.7125 GB, free: 1.152 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.351e-05/0.4747, allocations: 15.98 kB / 0.7126 GB, free: 1.137 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.4747, allocations: 4 kB / 0.7126 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.4747, allocations: 7.984 kB / 0.7126 GB, free: 1.125 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009868/0.4846, allocations: 5.906 MB / 0.7183 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.4846, allocations: 3.938 kB / 0.7183 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000767/0.4854, allocations: 175.8 kB / 0.7185 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00206/0.4874, allocations: 0.7108 MB / 0.7192 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.799e-05/0.4875, allocations: 20.12 kB / 0.7192 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005854/0.4934, allocations: 4.829 MB / 0.7239 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.4934, allocations: 3.938 kB / 0.7239 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006548/0.4999, allocations: 4.347 MB / 0.7282 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006369/0.5006, allocations: 378.7 kB / 0.7285 GB, free: 500 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002809/0.5009, allocations: 23.98 kB / 0.7286 GB, free: 476 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009849/0.5018, allocations: 71.84 kB / 0.7286 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/0.502, allocations: 68.5 kB / 0.7287 GB, free: 336 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.742e-05/0.5021, allocations: 39.98 kB / 0.7287 GB, free: 296 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.2139/0.716, allocations: 2.322 MB / 0.731 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.4e-07/0.716, allocations: 0 / 0.731 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004064/0.7201, allocations: 0.8001 MB / 0.7318 GB, free: 154.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * Array equations: 3 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005843/0.7259, allocations: 4.981 MB / 0.7367 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004525/0.7304, allocations: 3.886 MB / 0.7404 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.7304, allocations: 0 / 0.7404 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.7315, allocations: 1.037 MB / 0.7415 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/0.7334, allocations: 394.8 kB / 0.7418 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03133/0.7647, allocations: 37.78 MB / 0.7787 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001858/0.7665, allocations: 2.786 MB / 0.7815 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002638/0.7692, allocations: 1.668 MB / 0.7831 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/0.7706, allocations: 1.519 MB / 0.7846 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/0.7706, allocations: 0 / 0.7846 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08351/0.8541, allocations: 58.34 MB / 0.8415 GB, free: 47.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.96/20.81, allocations: 7.672 kB / 0.8415 GB, free: 47.9 MB / 0.5606 GB " [Timeout remaining time 639] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.339694003007025]