Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.001333/0.001333, allocations: 121.8 kB / 18.5 MB, free: 4.578 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.001343/0.001343, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.481/1.481, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] 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.2246/0.2246, allocations: 46.89 MB / 357.4 MB, free: 10.6 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.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointUSP",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.002193/0.002193, allocations: 75.88 kB / 0.4912 GB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1514, allocations: 65.98 MB / 0.5556 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.0228/0.1742, allocations: 16.05 MB / 0.5713 GB, free: 6.348 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01362/0.1878, allocations: 5.479 MB / 0.5767 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003223/0.191, allocations: 111.6 kB / 0.5768 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01048/0.2015, allocations: 5.163 MB / 0.5818 GB, free: 11.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007986/0.2095, allocations: 2.672 MB / 0.5844 GB, free: 8.879 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003906/0.2134, allocations: 1.388 MB / 0.5858 GB, free: 7.488 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.2679/0.4812, allocations: 8.248 MB / 0.5938 GB, free: 7.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009312/0.4905, allocations: 5.763 MB / 0.5995 GB, free: 6.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00573/0.4963, allocations: 2.779 MB / 0.6022 GB, free: 6.445 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007185/0.5035, allocations: 4.02 MB / 0.6061 GB, free: 6.098 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002726/0.5062, allocations: 0.6378 MB / 0.6067 GB, free: 6.094 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004645/0.5108, allocations: 1.821 MB / 0.6085 GB, free: 6.094 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004621/0.5155, allocations: 3.444 MB / 0.6119 GB, free: 5.723 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006259/0.5217, allocations: 3.783 MB / 0.6156 GB, free: 3.391 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01421/0.5359, allocations: 12.19 MB / 0.6275 GB, free: 13.6 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.16e-05/0.5359, allocations: 3.984 kB / 0.6275 GB, free: 13.6 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5359, allocations: 0 / 0.6275 GB, free: 13.6 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004561/0.5364, allocations: 0 / 0.6275 GB, free: 13.6 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.0229/0.5593, allocations: 8.372 MB / 0.6356 GB, free: 8.047 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.168e-05/0.5594, allocations: 9.844 kB / 0.6356 GB, free: 8.047 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004685/0.564, allocations: 1.153 MB / 0.6368 GB, free: 7.355 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05355/0.6176, allocations: 8.409 MB / 0.645 GB, free: 1.359 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0204/0.638, allocations: 5.902 MB / 0.6508 GB, free: 11.66 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006199/0.6386, allocations: 379 kB / 0.6511 GB, free: 11.33 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00364/0.6422, allocations: 0.512 MB / 0.6516 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03773/0.68, allocations: 15.42 MB / 0.6667 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004579/0.6804, allocations: 62.97 kB / 0.6667 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002151/0.6826, allocations: 233.2 kB / 0.667 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004797/0.6874, allocations: 2.549 MB / 0.6694 GB, free: 8.051 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03181/0.7192, allocations: 12.89 MB / 0.682 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09805/0.8172, allocations: 57.01 MB / 0.7377 GB, free: 1.617 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01849/0.8357, allocations: 6.116 MB / 0.7437 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005089/0.8408, allocations: 3.101 MB / 0.7467 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02458/0.8654, allocations: 11.37 MB / 0.7578 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.18e-05/0.8655, allocations: 68.02 kB / 0.7579 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=245): time 5.64e-06/0.8655, allocations: 0 / 0.7579 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=338): time 0.1521/1.018, allocations: 39.83 MB / 0.7968 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002328/1.018, allocations: 239.8 kB / 0.797 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01422/1.032, allocations: 5.742 MB / 0.8026 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0009725/1.033, allocations: 77.7 kB / 0.8027 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.004794/1.038, allocations: 4.618 MB / 0.8072 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.002203/1.04, allocations: 1.294 MB / 0.8084 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006204/1.046, allocations: 1.643 MB / 0.8101 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001555/1.046, allocations: 301.1 kB / 0.8103 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007573/1.054, allocations: 3.772 MB / 0.814 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01328/1.067, allocations: 8.304 MB / 0.8221 GB, free: 8.559 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02227/1.089, allocations: 13.01 MB / 0.8348 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002918/1.09, allocations: 44 kB / 0.8349 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1067) (initialization): time 0.3205/1.41, allocations: 15.44 MB / 0.85 GB, free: 219.1 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001441/1.41, allocations: 72.62 kB / 0.85 GB, free: 219.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003184/1.411, allocations: 157.2 kB / 0.8502 GB, free: 219.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01439/1.425, allocations: 4.097 MB / 0.8542 GB, free: 219.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006866/1.432, allocations: 1.794 MB / 0.8559 GB, free: 219.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02923/1.461, allocations: 20.94 MB / 0.8764 GB, free: 211 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007527/1.469, allocations: 0.4959 MB / 0.8769 GB, free: 210.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001787/1.471, allocations: 468.4 kB / 0.8773 GB, free: 210.8 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 717 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (966): * Single equations (assignments): 962 * 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,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007599/1.478, allocations: 3.115 MB / 0.8803 GB, free: 209.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001618/1.48, allocations: 0.5547 MB / 0.8809 GB, free: 209.6 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01997/1.5, allocations: 9.557 MB / 0.8902 GB, free: 206.4 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.926e-05/1.5, allocations: 34.47 kB / 0.8903 GB, free: 206.4 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.033e-05/1.5, allocations: 15.84 kB / 0.8903 GB, free: 206.4 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.997e-05/1.5, allocations: 17.72 kB / 0.8903 GB, free: 206.4 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04088/1.541, allocations: 19.57 MB / 0.9094 GB, free: 191.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.298e-05/1.541, allocations: 12 kB / 0.9094 GB, free: 191.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002423/1.543, allocations: 499.2 kB / 0.9099 GB, free: 191.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01151/1.555, allocations: 3.649 MB / 0.9135 GB, free: 187.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000838/1.556, allocations: 68.97 kB / 0.9135 GB, free: 187.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02311/1.579, allocations: 18.44 MB / 0.9315 GB, free: 168.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.363e-06/1.579, allocations: 11.94 kB / 0.9315 GB, free: 168.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02474/1.603, allocations: 14.2 MB / 0.9454 GB, free: 154.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001907/1.605, allocations: 0.5803 MB / 0.946 GB, free: 154.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001894/1.607, allocations: 67.92 kB / 0.946 GB, free: 154.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003772/1.611, allocations: 225.3 kB / 0.9462 GB, free: 154 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001002/1.612, allocations: 222.9 kB / 0.9465 GB, free: 153.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004987/1.613, allocations: 98.17 kB / 0.9466 GB, free: 153.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00667/1.619, allocations: 3.635 MB / 0.9501 GB, free: 150.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/1.619, allocations: 0 / 0.9501 GB, free: 150.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01026/1.629, allocations: 1.69 MB / 0.9518 GB, free: 148.4 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 2 (revolute.phi,revolute.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 (256): * Single equations (assignments): 252 * 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,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02612/1.656, allocations: 14.94 MB / 0.9663 GB, free: 133.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01398/1.67, allocations: 8.83 MB / 0.975 GB, free: 124.4 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/1.67, allocations: 4 kB / 0.975 GB, free: 124.4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.005065/1.675, allocations: 3.321 MB / 0.9782 GB, free: 121.1 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006989/1.682, allocations: 0.7811 MB / 0.979 GB, free: 120.4 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1324/1.814, allocations: 78.52 MB / 1.056 GB, free: 34.88 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008086/1.822, allocations: 4.812 MB / 1.06 GB, free: 30.03 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0058/1.828, allocations: 2.594 MB / 1.063 GB, free: 27.43 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003934/1.832, allocations: 3.069 MB / 1.066 GB, free: 24.36 MB / 0.6544 GB Notification: Performance of SimCode: time 1.082e-06/1.832, allocations: 0 / 1.066 GB, free: 24.36 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.464/2.296, allocations: 128.9 MB / 1.192 GB, free: 148 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 38.46/40.76, allocations: 15.83 kB / 1.192 GB, free: 148 MB / 0.6544 GB " [Timeout remaining time 619] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointUSP_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointUSP.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 43.85538639780134] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w'] 40.91623780829832 40.929633707 40.390776138 Calling exit ...