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.00136/0.00136, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.001448/0.001448, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.451/1.451, allocations: 230.5 MB / 258.2 MB, free: 7.996 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.2418/0.2418, allocations: 46.93 MB / 361.6 MB, free: 4.16 MB / 286.1 MB " [Timeout remaining time 179] 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.002335/0.002335, allocations: 75.88 kB / 0.497 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3793, allocations: 66.09 MB / 0.5615 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01854/0.3978, allocations: 16.08 MB / 0.5772 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.4102, allocations: 5.514 MB / 0.5826 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003309/0.4135, allocations: 131.4 kB / 0.5827 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01034/0.4239, allocations: 5.195 MB / 0.5878 GB, free: 9.246 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007683/0.4315, allocations: 2.673 MB / 0.5904 GB, free: 6.562 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003466/0.435, allocations: 1.388 MB / 0.5918 GB, free: 5.172 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01264/0.4477, allocations: 8.259 MB / 0.5998 GB, free: 12.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007804/0.4555, allocations: 5.201 MB / 0.6049 GB, free: 7.605 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006545/0.462, allocations: 2.82 MB / 0.6077 GB, free: 4.777 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007311/0.4693, allocations: 4.027 MB / 0.6116 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002564/0.4719, allocations: 0.6328 MB / 0.6122 GB, free: 108 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005669/0.4775, allocations: 1.83 MB / 0.614 GB, free: 14.27 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005848/0.4834, allocations: 3.444 MB / 0.6174 GB, free: 10.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007514/0.4909, allocations: 3.784 MB / 0.621 GB, free: 7.012 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01798/0.5089, allocations: 12.19 MB / 0.6329 GB, free: 10.78 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.5089, allocations: 0 / 0.6329 GB, free: 10.78 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5089, allocations: 0 / 0.6329 GB, free: 10.78 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004362/0.5093, allocations: 0 / 0.6329 GB, free: 10.78 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.02446/0.5338, allocations: 8.302 MB / 0.6411 GB, free: 2.402 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.5338, allocations: 12.03 kB / 0.6411 GB, free: 2.391 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0035/0.5373, allocations: 1.144 MB / 0.6422 GB, free: 1.234 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04878/0.5861, allocations: 8.406 MB / 0.6504 GB, free: 8.812 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01365/0.5998, allocations: 5.808 MB / 0.6561 GB, free: 2.918 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003998/0.6002, allocations: 386 kB / 0.6564 GB, free: 2.539 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002121/0.6023, allocations: 0.5075 MB / 0.6569 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03246/0.6348, allocations: 15.42 MB / 0.672 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000232/0.635, allocations: 63.48 kB / 0.672 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008432/0.6358, allocations: 231.8 kB / 0.6723 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003967/0.6398, allocations: 2.552 MB / 0.6748 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02965/0.6695, allocations: 12.89 MB / 0.6873 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3879/1.057, allocations: 56.82 MB / 0.7428 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01494/1.072, allocations: 5.65 MB / 0.7484 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003678/1.076, allocations: 3.114 MB / 0.7514 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01634/1.092, allocations: 9.735 MB / 0.7609 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/1.092, allocations: 67.16 kB / 0.761 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=245): time 4.94e-06/1.092, allocations: 0 / 0.761 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=338): time 0.1192/1.212, allocations: 39.44 MB / 0.7995 GB, free: 79.89 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.344e-05/1.212, allocations: 243.1 kB / 0.7997 GB, free: 79.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006716/1.218, allocations: 5.748 MB / 0.8053 GB, free: 73.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007668/1.219, allocations: 73.7 kB / 0.8054 GB, free: 73.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002398/1.222, allocations: 4.614 MB / 0.8099 GB, free: 69.63 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001752/1.223, allocations: 1.292 MB / 0.8112 GB, free: 68.35 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002477/1.226, allocations: 1.639 MB / 0.8128 GB, free: 66.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.268e-05/1.226, allocations: 318.7 kB / 0.8131 GB, free: 66.39 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004626/1.231, allocations: 3.768 MB / 0.8167 GB, free: 62.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006319/1.237, allocations: 8.306 MB / 0.8249 GB, free: 52.14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01455/1.251, allocations: 13.01 MB / 0.8376 GB, free: 37.06 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001764/1.252, allocations: 44 kB / 0.8376 GB, free: 37.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1067) (initialization): time 0.0298/1.281, allocations: 15.45 MB / 0.8527 GB, free: 21.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.426e-05/1.281, allocations: 72 kB / 0.8528 GB, free: 21.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001697/1.282, allocations: 156 kB / 0.8529 GB, free: 21.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01188/1.294, allocations: 4.096 MB / 0.8569 GB, free: 17.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006047/1.3, allocations: 1.797 MB / 0.8587 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0276/1.327, allocations: 20.83 MB / 0.879 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006811/1.334, allocations: 0.4953 MB / 0.8795 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001623/1.336, allocations: 468 kB / 0.8799 GB, free: 9.496 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.006795/1.342, allocations: 3.104 MB / 0.883 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001552/1.344, allocations: 0.551 MB / 0.8835 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02267/1.367, allocations: 9.556 MB / 0.8928 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.451e-05/1.367, allocations: 36.47 kB / 0.8929 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.674e-05/1.367, allocations: 20 kB / 0.8929 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.392e-05/1.367, allocations: 19.88 kB / 0.8929 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04321/1.41, allocations: 19.54 MB / 0.912 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-05/1.41, allocations: 8.781 kB / 0.912 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002506/1.413, allocations: 0.4953 MB / 0.9125 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01287/1.425, allocations: 3.651 MB / 0.9161 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007533/1.426, allocations: 63.98 kB / 0.9161 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03054/1.457, allocations: 18.36 MB / 0.934 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/1.457, allocations: 7.984 kB / 0.9341 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02932/1.486, allocations: 14.2 MB / 0.9479 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001811/1.488, allocations: 0.5157 MB / 0.9484 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001354/1.489, allocations: 68.05 kB / 0.9485 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003226/1.492, allocations: 227.6 kB / 0.9487 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009328/1.493, allocations: 234.1 kB / 0.9489 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002705/1.494, allocations: 94.02 kB / 0.949 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.006887/1.501, allocations: 3.643 MB / 0.9526 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.7e-07/1.501, allocations: 0 / 0.9526 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.008866/1.509, allocations: 1.68 MB / 0.9542 GB, free: 12.92 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.02985/1.539, allocations: 14.94 MB / 0.9688 GB, free: 13.79 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01613/1.555, allocations: 8.825 MB / 0.9774 GB, free: 4.957 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/1.555, allocations: 3.938 kB / 0.9774 GB, free: 4.953 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005979/1.561, allocations: 3.319 MB / 0.9807 GB, free: 1.617 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004978/1.566, allocations: 0.7806 MB / 0.9814 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4235/1.99, allocations: 78.64 MB / 1.058 GB, free: 214.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005081/1.995, allocations: 4.821 MB / 1.063 GB, free: 210.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.005516/2, allocations: 2.589 MB / 1.065 GB, free: 207.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004262/2.005, allocations: 3.061 MB / 1.068 GB, free: 204.4 MB / 0.6856 GB Notification: Performance of SimCode: time 1.302e-06/2.005, allocations: 4 kB / 1.068 GB, free: 204.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2388/2.243, allocations: 132.4 MB / 1.198 GB, free: 72.73 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 40.03/42.28, allocations: 11.59 kB / 1.198 GB, free: 72.72 MB / 0.6856 GB " [Timeout remaining time 618] (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: 45.414458618965] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w'] 42.43876538192853 42.45179147 41.940177081 Calling exit ...