Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.001494/0.001494, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001565/0.001565, allocations: 207.4 kB / 23.73 MB, free: 4.391 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.443/1.443, allocations: 230.5 MB / 257.4 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2372/0.2372, allocations: 46.95 MB / 360.8 MB, free: 3.914 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.JointUSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointUSR",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002399/0.002399, allocations: 79.88 kB / 0.4961 GB, free: 7.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3371, allocations: 66.09 MB / 0.5607 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02022/0.3573, allocations: 15.32 MB / 0.5756 GB, free: 4.609 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01258/0.3699, allocations: 5.45 MB / 0.581 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003625/0.3736, allocations: 127.4 kB / 0.5811 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009073/0.3826, allocations: 4.462 MB / 0.5854 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008768/0.3914, allocations: 3.093 MB / 0.5885 GB, free: 7.441 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004226/0.3956, allocations: 1.497 MB / 0.5899 GB, free: 5.941 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01321/0.4088, allocations: 8.942 MB / 0.5987 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007618/0.4164, allocations: 5.218 MB / 0.6038 GB, free: 7.691 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005423/0.4219, allocations: 3.061 MB / 0.6067 GB, free: 4.621 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007139/0.429, allocations: 4.365 MB / 0.611 GB, free: 248 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001839/0.4308, allocations: 0.664 MB / 0.6117 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003925/0.4348, allocations: 1.728 MB / 0.6133 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0046/0.4394, allocations: 3.81 MB / 0.6171 GB, free: 10.02 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005559/0.4449, allocations: 3.153 MB / 0.6201 GB, free: 6.852 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01832/0.4633, allocations: 13.72 MB / 0.6335 GB, free: 9.078 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.4633, allocations: 0 / 0.6335 GB, free: 9.078 MB / 478.1 MB Notification: Performance of FrontEnd: time 5.12e-06/0.4633, allocations: 4 kB / 0.6336 GB, free: 9.074 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000486/0.4638, allocations: 0 / 0.6336 GB, free: 9.074 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: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.03365/0.4974, allocations: 9.256 MB / 0.6426 GB, free: 15.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.652e-05/0.4975, allocations: 12.03 kB / 0.6426 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005923/0.5034, allocations: 1.415 MB / 0.644 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04371/0.5471, allocations: 6.021 MB / 0.6499 GB, free: 8.258 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01703/0.5641, allocations: 5.947 MB / 0.6557 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005704/0.5647, allocations: 438.9 kB / 0.6561 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002915/0.5676, allocations: 0.6088 MB / 0.6567 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04542/0.613, allocations: 20.64 MB / 0.6768 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004013/0.6134, allocations: 79.39 kB / 0.6769 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002705/0.6161, allocations: 267.7 kB / 0.6772 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006703/0.6228, allocations: 3.718 MB / 0.6808 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04568/0.6685, allocations: 18.05 MB / 0.6984 GB, free: 5.254 MB / 0.5294 GB 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.7234/1.392, allocations: 70.58 MB / 0.7674 GB, free: 105.4 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01487/1.407, allocations: 6.221 MB / 0.7734 GB, free: 103.7 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004212/1.411, allocations: 3.745 MB / 0.7771 GB, free: 102.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02593/1.437, allocations: 14.58 MB / 0.7913 GB, free: 93.38 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.764e-05/1.437, allocations: 67 kB / 0.7914 GB, free: 93.3 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=332): time 8.285e-06/1.437, allocations: 0 / 0.7914 GB, free: 93.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=413): time 0.1005/1.537, allocations: 34.29 MB / 0.8249 GB, free: 59.64 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/1.538, allocations: 200.3 kB / 0.8251 GB, free: 59.41 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007774/1.545, allocations: 6.847 MB / 0.8318 GB, free: 52.82 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.000852/1.546, allocations: 81.7 kB / 0.8318 GB, free: 52.73 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002773/1.549, allocations: 5.635 MB / 0.8373 GB, free: 47.32 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001584/1.551, allocations: 1.59 MB / 0.8389 GB, free: 45.75 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002309/1.553, allocations: 2.084 MB / 0.8409 GB, free: 43.66 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.357e-05/1.553, allocations: 301.1 kB / 0.8412 GB, free: 43.36 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005079/1.558, allocations: 4.182 MB / 0.8453 GB, free: 39.17 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007706/1.566, allocations: 10.1 MB / 0.8552 GB, free: 26.28 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01485/1.581, allocations: 15.37 MB / 0.8702 GB, free: 8.004 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00022/1.581, allocations: 56 kB / 0.8702 GB, free: 7.949 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1377) (initialization): time 0.03428/1.615, allocations: 15.94 MB / 0.8858 GB, free: 7.977 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005032/1.616, allocations: 92 kB / 0.8859 GB, free: 7.887 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005823/1.616, allocations: 216.1 kB / 0.8861 GB, free: 7.676 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00862/1.625, allocations: 2.302 MB / 0.8883 GB, free: 5.375 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009291/1.634, allocations: 2.402 MB / 0.8907 GB, free: 2.969 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02308/1.657, allocations: 12.25 MB / 0.9026 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008769/1.666, allocations: 0.5736 MB / 0.9032 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002273/1.668, allocations: 0.5985 MB / 0.9038 GB, free: 5.434 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 937 * Number of states: 0 () * Number of discrete variables: 49 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[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 (1276): * Single equations (assignments): 1269 * 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,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008683/1.677, allocations: 3.758 MB / 0.9074 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002427/1.679, allocations: 0.6247 MB / 0.9081 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02229/1.702, allocations: 8.132 MB / 0.916 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001331/1.702, allocations: 71.83 kB / 0.9161 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-05/1.702, allocations: 8 kB / 0.9161 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001016/1.702, allocations: 23.92 kB / 0.9161 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04731/1.749, allocations: 17.34 MB / 0.933 GB, free: 7.195 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.382e-05/1.749, allocations: 12 kB / 0.933 GB, free: 7.184 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003132/1.752, allocations: 0.613 MB / 0.9336 GB, free: 6.57 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006858/1.759, allocations: 1.749 MB / 0.9353 GB, free: 4.816 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007034/1.76, allocations: 79.98 kB / 0.9354 GB, free: 4.738 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01993/1.78, allocations: 10.35 MB / 0.9455 GB, free: 10.27 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.975e-05/1.78, allocations: 23.81 kB / 0.9455 GB, free: 10.24 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02459/1.804, allocations: 12.17 MB / 0.9574 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001955/1.806, allocations: 0.5738 MB / 0.958 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001496/1.808, allocations: 79.98 kB / 0.9581 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003473/1.811, allocations: 203.7 kB / 0.9583 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008454/1.812, allocations: 277.5 kB / 0.9585 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004052/1.813, allocations: 111.9 kB / 0.9586 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.008761/1.821, allocations: 4.03 MB / 0.9626 GB, free: 8.551 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.01e-07/1.821, allocations: 480 / 0.9626 GB, free: 8.551 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009842/1.831, allocations: 1.883 MB / 0.9644 GB, free: 6.668 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (325): * Single equations (assignments): 318 * 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,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02581/1.857, allocations: 12.94 MB / 0.977 GB, free: 9.441 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01951/1.877, allocations: 9.404 MB / 0.9862 GB, free: 52 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.738e-05/1.877, allocations: 0 / 0.9862 GB, free: 52 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.2908/2.167, allocations: 3.041 MB / 0.9892 GB, free: 250 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005433/2.173, allocations: 0.8168 MB / 0.99 GB, free: 250 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1216/2.294, allocations: 87.8 MB / 1.076 GB, free: 166.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005698/2.3, allocations: 5.102 MB / 1.081 GB, free: 161.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00674/2.307, allocations: 3.319 MB / 1.084 GB, free: 158.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005617/2.312, allocations: 3.67 MB / 1.088 GB, free: 154.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.684e-06/2.312, allocations: 0 / 1.088 GB, free: 154.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1826/2.495, allocations: 129.4 MB / 1.214 GB, free: 26.21 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.64/25.13, allocations: 0 / 1.214 GB, free: 26.21 MB / 0.67 GB " [Timeout remaining time 635] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointUSR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 28.3764188606292] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 25.32370902504772 25.334442257 24.868578712 Calling exit ...