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.001487/0.001487, allocations: 112.6 kB / 20.18 MB, free: 1.984 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.001994/0.001994, allocations: 214.2 kB / 23.44 MB, free: 5.094 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.437/1.437, allocations: 230.2 MB / 256.8 MB, free: 8.555 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.2378/0.2378, allocations: 46.89 MB / 360 MB, free: 4.738 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.002588/0.002588, allocations: 79.86 kB / 0.495 GB, free: 8.582 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3691, allocations: 65.99 MB / 0.5594 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.0203/0.3894, allocations: 16.08 MB / 0.5751 GB, free: 4.844 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01398/0.4034, allocations: 5.503 MB / 0.5805 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003381/0.4068, allocations: 111.7 kB / 0.5806 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01045/0.4173, allocations: 5.202 MB / 0.5857 GB, free: 9.996 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008775/0.426, allocations: 2.658 MB / 0.5883 GB, free: 7.328 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005017/0.431, allocations: 1.388 MB / 0.5897 GB, free: 5.938 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01666/0.4477, allocations: 8.243 MB / 0.5977 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01081/0.4585, allocations: 4.842 MB / 0.6024 GB, free: 8.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007107/0.4656, allocations: 2.777 MB / 0.6051 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009714/0.4753, allocations: 4.031 MB / 0.6091 GB, free: 1.922 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003488/0.4788, allocations: 0.6328 MB / 0.6097 GB, free: 1.289 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00702/0.4858, allocations: 1.814 MB / 0.6115 GB, free: 15.47 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007278/0.4931, allocations: 3.452 MB / 0.6148 GB, free: 12.01 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01031/0.5034, allocations: 3.784 MB / 0.6185 GB, free: 8.203 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02304/0.5265, allocations: 12.18 MB / 0.6304 GB, free: 11.98 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/0.5265, allocations: 4 kB / 0.6304 GB, free: 11.97 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5265, allocations: 0 / 0.6304 GB, free: 11.97 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004404/0.5269, allocations: 0 / 0.6304 GB, free: 11.97 MB / 478.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.02682/0.5537, allocations: 8.374 MB / 0.6386 GB, free: 3.504 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.5538, allocations: 12.03 kB / 0.6386 GB, free: 3.492 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003461/0.5573, allocations: 1.148 MB / 0.6397 GB, free: 2.332 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05169/0.6089, allocations: 8.41 MB / 0.648 GB, free: 9.906 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01492/0.6239, allocations: 5.891 MB / 0.6537 GB, free: 3.938 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003699/0.6242, allocations: 382 kB / 0.6541 GB, free: 3.562 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002005/0.6262, allocations: 0.5153 MB / 0.6546 GB, free: 3.047 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03149/0.6577, allocations: 15.42 MB / 0.6696 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002383/0.658, allocations: 67.53 kB / 0.6697 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008303/0.6588, allocations: 239.8 kB / 0.6699 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00412/0.6629, allocations: 2.54 MB / 0.6724 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02882/0.6917, allocations: 12.88 MB / 0.685 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3613/1.053, allocations: 57.01 MB / 0.7407 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01556/1.069, allocations: 6.115 MB / 0.7466 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003721/1.072, allocations: 3.101 MB / 0.7497 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01399/1.086, allocations: 11.37 MB / 0.7608 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/1.086, allocations: 63.17 kB / 0.7608 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=245): time 4.498e-06/1.086, allocations: 3.688 kB / 0.7608 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=338): time 0.1169/1.203, allocations: 39.8 MB / 0.7997 GB, free: 77.46 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.615e-05/1.203, allocations: 243.8 kB / 0.7999 GB, free: 77.18 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006481/1.21, allocations: 5.742 MB / 0.8055 GB, free: 71.55 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007486/1.211, allocations: 77.7 kB / 0.8056 GB, free: 71.47 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002284/1.213, allocations: 4.617 MB / 0.8101 GB, free: 67.22 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001133/1.214, allocations: 1.292 MB / 0.8114 GB, free: 65.94 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001765/1.216, allocations: 1.643 MB / 0.813 GB, free: 64.29 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.349e-05/1.216, allocations: 301.1 kB / 0.8133 GB, free: 63.99 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004138/1.22, allocations: 3.772 MB / 0.817 GB, free: 60.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005732/1.226, allocations: 8.309 MB / 0.8251 GB, free: 49.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01183/1.237, allocations: 13.01 MB / 0.8378 GB, free: 34.67 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-05/1.238, allocations: 48 kB / 0.8378 GB, free: 34.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1067) (initialization): time 0.02682/1.264, allocations: 15.45 MB / 0.8529 GB, free: 19.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.757e-05/1.264, allocations: 72 kB / 0.853 GB, free: 19.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001244/1.265, allocations: 159.9 kB / 0.8531 GB, free: 18.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01183/1.276, allocations: 4.1 MB / 0.8571 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005656/1.282, allocations: 1.801 MB / 0.8589 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02765/1.31, allocations: 20.94 MB / 0.8793 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006439/1.316, allocations: 499.4 kB / 0.8798 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001274/1.317, allocations: 464 kB / 0.8803 GB, free: 6.98 MB / 0.5762 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.00577/1.323, allocations: 3.119 MB / 0.8833 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001337/1.325, allocations: 0.551 MB / 0.8838 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02258/1.347, allocations: 9.56 MB / 0.8932 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.986e-05/1.347, allocations: 32 kB / 0.8932 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.728e-05/1.347, allocations: 16 kB / 0.8932 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.377e-05/1.347, allocations: 15.94 kB / 0.8932 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04658/1.394, allocations: 19.58 MB / 0.9124 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.795e-05/1.394, allocations: 8 kB / 0.9124 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002592/1.396, allocations: 495.3 kB / 0.9128 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01288/1.409, allocations: 3.654 MB / 0.9164 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000719/1.41, allocations: 67.92 kB / 0.9165 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03032/1.44, allocations: 18.44 MB / 0.9345 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/1.44, allocations: 11.94 kB / 0.9345 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02995/1.47, allocations: 14.2 MB / 0.9484 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001924/1.472, allocations: 0.5949 MB / 0.9489 GB, free: 44 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001434/1.474, allocations: 60.17 kB / 0.949 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003122/1.477, allocations: 223.6 kB / 0.9492 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009453/1.478, allocations: 226.2 kB / 0.9494 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000271/1.478, allocations: 92 kB / 0.9495 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.007226/1.485, allocations: 3.643 MB / 0.9531 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/1.485, allocations: 3.938 kB / 0.9531 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.008958/1.494, allocations: 1.674 MB / 0.9547 GB, free: 10.17 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.02957/1.524, allocations: 14.95 MB / 0.9693 GB, free: 11.02 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01592/1.54, allocations: 8.829 MB / 0.9779 GB, free: 2.18 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/1.54, allocations: 0 / 0.9779 GB, free: 2.18 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005801/1.546, allocations: 3.318 MB / 0.9812 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004437/1.55, allocations: 0.7731 MB / 0.9819 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4185/1.968, allocations: 78.65 MB / 1.059 GB, free: 214.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005145/1.974, allocations: 4.812 MB / 1.063 GB, free: 209.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.005546/1.979, allocations: 2.599 MB / 1.066 GB, free: 206.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00339/1.983, allocations: 3.065 MB / 1.069 GB, free: 203.8 MB / 0.6856 GB Notification: Performance of SimCode: time 1.273e-06/1.983, allocations: 0 / 1.069 GB, free: 203.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1717/2.154, allocations: 126.3 MB / 1.192 GB, free: 78.15 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 38.41/40.56, allocations: 14.38 kB / 1.192 GB, free: 78.15 MB / 0.6856 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.60543574905023] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w'] 40.72201730997767 40.73584209 40.206023901 Calling exit ...