Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 108.8 kB / 17.07 MB, free: 6 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002094/0.002094, allocations: 192.7 kB / 20.02 MB, free: 3.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 205.1 MB / 227.9 MB, free: 4.371 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3893/0.3893, allocations: 43.51 MB / 320.8 MB, free: 9.004 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00213/0.002131, allocations: 67.89 kB / 450 MB, free: 11.14 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3138, allocations: 57.78 MB / 0.4959 GB, free: 19.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01357/0.3274, allocations: 16.39 MB / 0.5119 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01125/0.3387, allocations: 5.296 MB / 0.5171 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004127/0.3429, allocations: 101.9 kB / 0.5172 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007531/0.3505, allocations: 4.172 MB / 0.5212 GB, free: 15.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008814/0.3594, allocations: 2.767 MB / 0.5239 GB, free: 13.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00359/0.363, allocations: 1.267 MB / 0.5252 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01216/0.3752, allocations: 7.446 MB / 0.5324 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008181/0.3834, allocations: 5.866 MB / 0.5382 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005493/0.3889, allocations: 2.695 MB / 0.5408 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006632/0.3956, allocations: 3.786 MB / 0.5445 GB, free: 8.312 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002417/0.3981, allocations: 0.5938 MB / 0.5451 GB, free: 7.719 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005539/0.4036, allocations: 1.76 MB / 0.5468 GB, free: 5.957 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005606/0.4093, allocations: 3.331 MB / 0.5501 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006982/0.4163, allocations: 3.845 MB / 0.5538 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01785/0.4342, allocations: 12.54 MB / 0.5661 GB, free: 2.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4342, allocations: 0 / 0.5661 GB, free: 2.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4342, allocations: 0 / 0.5661 GB, free: 2.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003968/0.4346, allocations: 4 kB / 0.5661 GB, free: 2.156 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.02269/0.4573, allocations: 8.24 MB / 0.5741 GB, free: 9.812 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/0.4574, allocations: 15.89 kB / 0.5741 GB, free: 9.797 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004224/0.4616, allocations: 1.311 MB / 0.5754 GB, free: 8.473 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03194/0.4936, allocations: 5.745 MB / 0.581 GB, free: 2.715 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01238/0.506, allocations: 5.683 MB / 0.5866 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004174/0.5065, allocations: 394 kB / 0.5869 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003348/0.5098, allocations: 0.5582 MB / 0.5875 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04498/0.5549, allocations: 18.82 MB / 0.6059 GB, free: 8.16 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000315/0.5552, allocations: 63.47 kB / 0.6059 GB, free: 8.098 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001984/0.5572, allocations: 251.8 kB / 0.6062 GB, free: 7.852 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006279/0.5635, allocations: 3.432 MB / 0.6095 GB, free: 4.414 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0403/0.6039, allocations: 16.52 MB / 0.6256 GB, free: 3.883 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3549/0.9588, allocations: 66.66 MB / 0.6907 GB, free: 75.06 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01541/0.9743, allocations: 6.274 MB / 0.6969 GB, free: 72.38 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004856/0.9792, allocations: 2.828 MB / 0.6996 GB, free: 70.95 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02174/1.001, allocations: 13.88 MB / 0.7132 GB, free: 61.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/1.001, allocations: 59.25 kB / 0.7132 GB, free: 61.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=284): time 7.083e-06/1.001, allocations: 0 / 0.7132 GB, free: 61.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=345): time 0.07617/1.077, allocations: 25.6 MB / 0.7382 GB, free: 41.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/1.077, allocations: 192.3 kB / 0.7384 GB, free: 41.29 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006887/1.084, allocations: 5.962 MB / 0.7443 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006426/1.085, allocations: 73.7 kB / 0.7443 GB, free: 35.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002476/1.087, allocations: 5.196 MB / 0.7494 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001266/1.089, allocations: 1.336 MB / 0.7507 GB, free: 29.21 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002145/1.091, allocations: 1.884 MB / 0.7525 GB, free: 27.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.87e-05/1.091, allocations: 305.1 kB / 0.7528 GB, free: 27.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004128/1.095, allocations: 3.294 MB / 0.756 GB, free: 23.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006322/1.101, allocations: 8.768 MB / 0.7646 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01415/1.116, allocations: 13.03 MB / 0.7773 GB, free: 12.5 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00019/1.116, allocations: 56 kB / 0.7774 GB, free: 12.44 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.03252/1.148, allocations: 12.84 MB / 0.7899 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001374/1.149, allocations: 88 kB / 0.79 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002442/1.149, allocations: 192 kB / 0.7902 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004447/1.153, allocations: 1.329 MB / 0.7915 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007421/1.161, allocations: 2.16 MB / 0.7936 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/1.174, allocations: 7.839 MB / 0.8013 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007035/1.181, allocations: 0.4995 MB / 0.8017 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002408/1.183, allocations: 0.5479 MB / 0.8023 GB, free: 2.762 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 874 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1152): * Single equations (assignments): 1145 * Array equations: 6 * 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 {(2,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01055/1.194, allocations: 3.456 MB / 0.8057 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002017/1.196, allocations: 0.5587 MB / 0.8062 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01417/1.21, allocations: 5.42 MB / 0.8115 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.537e-05/1.21, allocations: 43.98 kB / 0.8115 GB, free: 9.211 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.304e-05/1.21, allocations: 4 kB / 0.8115 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-05/1.21, allocations: 19.89 kB / 0.8116 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0364/1.247, allocations: 13.94 MB / 0.8252 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.833e-05/1.247, allocations: 12 kB / 0.8252 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002263/1.249, allocations: 0.4953 MB / 0.8257 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003451/1.253, allocations: 0.8093 MB / 0.8265 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003702/1.253, allocations: 83.91 kB / 0.8265 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01038/1.263, allocations: 5.801 MB / 0.8322 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-05/1.263, allocations: 19.94 kB / 0.8322 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01686/1.28, allocations: 8.334 MB / 0.8404 GB, free: 10.97 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003193/1.284, allocations: 0.9501 MB / 0.8413 GB, free: 10 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001832/1.285, allocations: 67.98 kB / 0.8414 GB, free: 9.934 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003137/1.289, allocations: 135.7 kB / 0.8415 GB, free: 9.805 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007065/1.289, allocations: 221.5 kB / 0.8417 GB, free: 9.586 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003318/1.29, allocations: 99.98 kB / 0.8418 GB, free: 9.488 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.007991/1.298, allocations: 3.704 MB / 0.8454 GB, free: 5.816 MB / 0.5763 GB Notification: Performance of sort global known variables: time 4.31e-07/1.298, allocations: 0 / 0.8454 GB, free: 5.816 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.009223/1.307, allocations: 1.629 MB / 0.847 GB, free: 4.188 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.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 (269): * Single equations (assignments): 262 * Array equations: 6 * 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 {(2,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01817/1.325, allocations: 9.084 MB / 0.8559 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01668/1.342, allocations: 7.833 MB / 0.8635 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.504e-05/1.342, allocations: 0 / 0.8635 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005336/1.347, allocations: 2.38 MB / 0.8658 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2886/1.636, allocations: 0.7129 MB / 0.8665 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1096/1.746, allocations: 73.96 MB / 0.9388 GB, free: 147.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00581/1.751, allocations: 5.171 MB / 0.9438 GB, free: 142.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005924/1.757, allocations: 2.973 MB / 0.9467 GB, free: 139.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004961/1.762, allocations: 3.338 MB / 0.95 GB, free: 136.2 MB / 0.5919 GB Notification: Performance of SimCode: time 9.82e-07/1.762, allocations: 0 / 0.95 GB, free: 136.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1599/1.922, allocations: 111.1 MB / 1.058 GB, free: 25.08 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.56/26.48, allocations: 3.984 kB / 1.058 GB, free: 25.07 MB / 0.5919 GB " [Timeout remaining time 633] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointSSR_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointSSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 29.53055670694448] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 26.640674273017794 26.65868149 26.221113624 Calling exit ...