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.001925/0.001925, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.002268/0.002268, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.499/1.499, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.2449/0.2449, allocations: 46.92 MB / 360.8 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 179] 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.002347/0.002347, allocations: 88.09 kB / 0.4962 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3924, allocations: 66.08 MB / 0.5607 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02072/0.4131, allocations: 17.75 MB / 0.5781 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0146/0.4277, allocations: 5.749 MB / 0.5837 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004596/0.4323, allocations: 127.4 kB / 0.5838 GB, free: 12.76 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00986/0.4421, allocations: 4.66 MB / 0.5883 GB, free: 8.082 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008842/0.451, allocations: 3.078 MB / 0.5914 GB, free: 4.992 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003807/0.4548, allocations: 1.494 MB / 0.5928 GB, free: 3.496 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01427/0.4691, allocations: 8.951 MB / 0.6016 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007863/0.4769, allocations: 5.245 MB / 0.6067 GB, free: 5.211 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005772/0.4827, allocations: 3.057 MB / 0.6097 GB, free: 2.145 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007616/0.4903, allocations: 4.619 MB / 0.6142 GB, free: 13.51 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002272/0.4926, allocations: 0.6602 MB / 0.6148 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004547/0.4971, allocations: 1.885 MB / 0.6167 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005337/0.5025, allocations: 3.802 MB / 0.6204 GB, free: 7.148 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008413/0.5109, allocations: 4.226 MB / 0.6245 GB, free: 2.898 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02244/0.5333, allocations: 13.65 MB / 0.6378 GB, free: 5.199 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.5333, allocations: 0 / 0.6378 GB, free: 5.199 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.5333, allocations: 0 / 0.6378 GB, free: 5.199 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004732/0.5338, allocations: 4 kB / 0.6378 GB, free: 5.195 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.0245/0.5583, allocations: 9.256 MB / 0.6469 GB, free: 11.86 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.5583, allocations: 12.03 kB / 0.6469 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00397/0.5623, allocations: 1.43 MB / 0.6483 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03092/0.5932, allocations: 6.01 MB / 0.6541 GB, free: 4.379 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01635/0.6096, allocations: 5.931 MB / 0.6599 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004893/0.6101, allocations: 434.9 kB / 0.6604 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002875/0.6129, allocations: 0.605 MB / 0.6609 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04529/0.6582, allocations: 20.57 MB / 0.681 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004304/0.6587, allocations: 83.39 kB / 0.6811 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002403/0.6611, allocations: 267.7 kB / 0.6814 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006549/0.6676, allocations: 3.714 MB / 0.685 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04171/0.7093, allocations: 18.08 MB / 0.7026 GB, free: 1.445 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.6565/1.366, allocations: 74.1 MB / 0.775 GB, free: 103.3 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01599/1.382, allocations: 6.243 MB / 0.7811 GB, free: 101.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005561/1.387, allocations: 3.751 MB / 0.7848 GB, free: 100.1 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03232/1.42, allocations: 15.34 MB / 0.7998 GB, free: 91.12 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/1.42, allocations: 71.53 kB / 0.7998 GB, free: 91.05 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=332): time 6.592e-06/1.42, allocations: 0 / 0.7998 GB, free: 91.05 MB / 0.5607 GB Notification: Performance of matching and sorting (n=413): time 0.1047/1.524, allocations: 34.23 MB / 0.8332 GB, free: 57.33 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.352e-05/1.525, allocations: 192.9 kB / 0.8334 GB, free: 57.11 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009617/1.534, allocations: 6.494 MB / 0.8398 GB, free: 50.74 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0009593/1.535, allocations: 81.7 kB / 0.8399 GB, free: 50.66 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004152/1.539, allocations: 5.639 MB / 0.8454 GB, free: 45.36 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002444/1.542, allocations: 1.59 MB / 0.8469 GB, free: 43.79 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00334/1.545, allocations: 2.085 MB / 0.8489 GB, free: 41.7 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 6.426e-05/1.545, allocations: 301.1 kB / 0.8492 GB, free: 41.4 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005585/1.551, allocations: 4.182 MB / 0.8533 GB, free: 37.21 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009211/1.56, allocations: 10.07 MB / 0.8632 GB, free: 24.27 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01544/1.575, allocations: 15.36 MB / 0.8782 GB, free: 5.996 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001754/1.576, allocations: 56 kB / 0.8782 GB, free: 5.941 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1377) (initialization): time 0.03541/1.611, allocations: 15.95 MB / 0.8938 GB, free: 5.961 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001553/1.611, allocations: 96 kB / 0.8939 GB, free: 5.867 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002808/1.611, allocations: 204.5 kB / 0.8941 GB, free: 5.668 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008332/1.62, allocations: 2.314 MB / 0.8963 GB, free: 3.352 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008982/1.629, allocations: 2.398 MB / 0.8987 GB, free: 0.9492 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02179/1.651, allocations: 12.4 MB / 0.9108 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008724/1.659, allocations: 0.5758 MB / 0.9113 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002204/1.661, allocations: 0.5976 MB / 0.9119 GB, free: 3.262 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.008904/1.67, allocations: 3.756 MB / 0.9156 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001597/1.672, allocations: 0.6324 MB / 0.9162 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.019/1.691, allocations: 8.14 MB / 0.9242 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001242/1.691, allocations: 64 kB / 0.9242 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.306e-05/1.691, allocations: 8 kB / 0.9242 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.415e-05/1.691, allocations: 23.92 kB / 0.9243 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04455/1.736, allocations: 18.48 MB / 0.9423 GB, free: 3.734 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.491e-05/1.736, allocations: 8 kB / 0.9423 GB, free: 3.727 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003213/1.739, allocations: 0.6201 MB / 0.9429 GB, free: 3.105 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00663/1.746, allocations: 1.745 MB / 0.9446 GB, free: 1.355 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007813/1.746, allocations: 79.98 kB / 0.9447 GB, free: 1.277 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01831/1.765, allocations: 10.48 MB / 0.9549 GB, free: 6.68 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.547e-05/1.765, allocations: 19.94 kB / 0.9549 GB, free: 6.66 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02485/1.79, allocations: 12.17 MB / 0.9668 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002026/1.792, allocations: 0.5737 MB / 0.9674 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001632/1.793, allocations: 79.98 kB / 0.9675 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003599/1.797, allocations: 199.7 kB / 0.9677 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009295/1.798, allocations: 273.6 kB / 0.9679 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003002/1.798, allocations: 112 kB / 0.968 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.01023/1.808, allocations: 4.03 MB / 0.972 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.61e-07/1.808, allocations: 0 / 0.972 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0119/1.82, allocations: 1.875 MB / 0.9738 GB, free: 3.094 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.02703/1.847, allocations: 12.95 MB / 0.9864 GB, free: 5.863 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.3546/2.202, allocations: 9.403 MB / 0.9956 GB, free: 247.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.559e-05/2.202, allocations: 8.531 kB / 0.9956 GB, free: 247.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007672/2.21, allocations: 3.038 MB / 0.9986 GB, free: 247 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005555/2.215, allocations: 0.8209 MB / 0.9994 GB, free: 246.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1301/2.345, allocations: 87.81 MB / 1.085 GB, free: 163.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007644/2.353, allocations: 5.573 MB / 1.091 GB, free: 157.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007083/2.36, allocations: 3.308 MB / 1.094 GB, free: 154.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005316/2.365, allocations: 3.67 MB / 1.097 GB, free: 151 MB / 0.67 GB Notification: Performance of SimCode: time 2.024e-06/2.365, allocations: 0 / 1.097 GB, free: 151 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1994/2.565, allocations: 133.1 MB / 1.227 GB, free: 18.41 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 39.37/41.94, allocations: 18.77 kB / 1.227 GB, free: 18.4 MB / 0.67 GB " [Timeout remaining time 618] (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: 45.59895168199728] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 42.13350341199839 42.422756713 41.885839104 Calling exit ...