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.001073/0.001073, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0009288/0.0009288, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9673/0.9673, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.2726/0.2726, allocations: 34.23 MB / 294.8 MB, free: 0.6914 MB / 266.7 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 2.796e-06/2.796e-06, allocations: 0 / 442.1 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/3.1e-05, allocations: 6.219 kB / 442.1 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.2241/0.2242, allocations: 15.32 MB / 457.5 MB, free: 35.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01119/0.2354, allocations: 5.473 MB / 462.9 MB, free: 31.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003923/0.2393, allocations: 125.3 kB / 463.1 MB, free: 31.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005382/0.2447, allocations: 4.685 MB / 467.7 MB, free: 29.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006782/0.2515, allocations: 3.173 MB / 470.9 MB, free: 28.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002825/0.2543, allocations: 1.676 MB / 472.6 MB, free: 27.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.009882/0.2642, allocations: 10.32 MB / 482.9 MB, free: 23.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01117/0.2753, allocations: 6.235 MB / 489.1 MB, free: 21.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01373/0.289, allocations: 4.687 MB / 493.8 MB, free: 19.24 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00993/0.299, allocations: 4.88 MB / 498.7 MB, free: 17.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003685/0.3027, allocations: 0.6777 MB / 499.4 MB, free: 17.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005848/0.3085, allocations: 1.83 MB / 0.4895 GB, free: 17.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007539/0.3161, allocations: 3.983 MB / 0.4934 GB, free: 15.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007485/0.3235, allocations: 2.512 MB / 0.4958 GB, free: 13.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01495/0.3385, allocations: 13.87 MB / 0.5094 GB, free: 1.305 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.296e-05/0.3385, allocations: 4 kB / 0.5094 GB, free: 1.301 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.3385, allocations: 4 kB / 0.5094 GB, free: 1.297 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007874/0.3393, allocations: 0 / 0.5094 GB, free: 1.297 MB / 410.7 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.0247/0.364, allocations: 9.417 MB / 0.5186 GB, free: 7.793 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.364, allocations: 12.03 kB / 0.5186 GB, free: 7.781 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00364/0.3677, allocations: 1.423 MB / 0.52 GB, free: 6.348 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01779/0.3855, allocations: 6.475 MB / 0.5263 GB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01122/0.3967, allocations: 5.296 MB / 0.5315 GB, free: 10.48 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005278/0.3972, allocations: 434.9 kB / 0.5319 GB, free: 10.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003705/0.4009, allocations: 0.6078 MB / 0.5325 GB, free: 9.449 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03492/0.4358, allocations: 20.68 MB / 0.5527 GB, free: 3.605 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002394/0.4361, allocations: 79.34 kB / 0.5527 GB, free: 3.527 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001331/0.4374, allocations: 271.7 kB / 0.553 GB, free: 3.262 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003565/0.441, allocations: 3.71 MB / 0.5566 GB, free: 15.55 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03122/0.4722, allocations: 18.09 MB / 0.5743 GB, free: 13.45 MB / 490.7 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.5038/0.9761, allocations: 71.55 MB / 0.6442 GB, free: 98.18 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/0.9869, allocations: 6.486 MB / 0.6505 GB, free: 98.07 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003997/0.9909, allocations: 3.748 MB / 0.6542 GB, free: 97.38 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02153/1.012, allocations: 14.94 MB / 0.6688 GB, free: 92.12 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/1.012, allocations: 70.91 kB / 0.6688 GB, free: 92.06 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=332): time 6.402e-06/1.012, allocations: 0 / 0.6688 GB, free: 92.06 MB / 0.5262 GB Notification: Performance of matching and sorting (n=413): time 0.07117/1.084, allocations: 35.76 MB / 0.7037 GB, free: 82.08 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/1.084, allocations: 196.2 kB / 0.7039 GB, free: 81.89 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007401/1.091, allocations: 7.492 MB / 0.7112 GB, free: 79.36 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0008617/1.092, allocations: 84.33 kB / 0.7113 GB, free: 79.29 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002236/1.094, allocations: 5.595 MB / 0.7168 GB, free: 75.11 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001875/1.096, allocations: 1.569 MB / 0.7183 GB, free: 73.92 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002149/1.098, allocations: 2.053 MB / 0.7203 GB, free: 72.36 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 3.304e-05/1.098, allocations: 309.1 kB / 0.7206 GB, free: 72.05 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004496/1.103, allocations: 4.192 MB / 0.7247 GB, free: 68.49 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006102/1.109, allocations: 10.12 MB / 0.7346 GB, free: 56.38 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01191/1.121, allocations: 15.38 MB / 0.7496 GB, free: 38.86 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001926/1.121, allocations: 60.84 kB / 0.7497 GB, free: 38.8 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1377) (initialization): time 0.0221/1.143, allocations: 15.99 MB / 0.7653 GB, free: 22.78 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 9.677e-05/1.143, allocations: 92 kB / 0.7654 GB, free: 22.69 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001749/1.143, allocations: 204 kB / 0.7656 GB, free: 22.49 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004086/1.147, allocations: 2.311 MB / 0.7678 GB, free: 20.18 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005686/1.153, allocations: 2.413 MB / 0.7702 GB, free: 17.77 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/1.165, allocations: 12.28 MB / 0.7822 GB, free: 5.375 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006806/1.172, allocations: 0.7348 MB / 0.7829 GB, free: 4.641 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00126/1.173, allocations: 0.5898 MB / 0.7835 GB, free: 4.051 MB / 0.5262 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.004778/1.178, allocations: 3.759 MB / 0.7871 GB, free: 288 kB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001215/1.179, allocations: 0.6286 MB / 0.7878 GB, free: 15.65 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/1.19, allocations: 8.134 MB / 0.7957 GB, free: 7.461 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001163/1.19, allocations: 67.81 kB / 0.7958 GB, free: 7.398 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-05/1.19, allocations: 8 kB / 0.7958 GB, free: 7.391 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.728e-05/1.19, allocations: 17.75 kB / 0.7958 GB, free: 7.375 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03127/1.221, allocations: 17.53 MB / 0.8129 GB, free: 5.648 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.446e-05/1.221, allocations: 12 kB / 0.8129 GB, free: 5.637 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001794/1.223, allocations: 0.6085 MB / 0.8135 GB, free: 5.027 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00356/1.227, allocations: 1.766 MB / 0.8152 GB, free: 3.258 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004929/1.227, allocations: 79.94 kB / 0.8153 GB, free: 3.18 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01136/1.239, allocations: 10.38 MB / 0.8254 GB, free: 8.695 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/1.239, allocations: 19.59 kB / 0.8255 GB, free: 8.68 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01606/1.255, allocations: 12.16 MB / 0.8373 GB, free: 12.26 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002614/1.257, allocations: 0.6635 MB / 0.838 GB, free: 11.59 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002434/1.26, allocations: 79.92 kB / 0.8381 GB, free: 11.51 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003864/1.264, allocations: 293.6 kB / 0.8383 GB, free: 11.23 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009803/1.265, allocations: 273.5 kB / 0.8386 GB, free: 10.96 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002592/1.265, allocations: 108 kB / 0.8387 GB, free: 10.85 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.007029/1.272, allocations: 4.553 MB / 0.8432 GB, free: 6.309 MB / 0.5887 GB Notification: Performance of sort global known variables: time 3.11e-07/1.272, allocations: 0 / 0.8432 GB, free: 6.309 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.01021/1.282, allocations: 2.103 MB / 0.8452 GB, free: 4.207 MB / 0.5887 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.01769/1.3, allocations: 12.94 MB / 0.8578 GB, free: 6.988 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.2117/1.511, allocations: 9.424 MB / 0.867 GB, free: 210 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.142e-05/1.512, allocations: 0 / 0.867 GB, free: 210 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.004321/1.516, allocations: 3.042 MB / 0.87 GB, free: 209.7 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004859/1.521, allocations: 0.8171 MB / 0.8708 GB, free: 209.7 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1308/1.652, allocations: 89.75 MB / 0.9585 GB, free: 152 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006322/1.658, allocations: 5.117 MB / 0.9635 GB, free: 148.3 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.005679/1.664, allocations: 3.338 MB / 0.9667 GB, free: 146.1 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005355/1.669, allocations: 3.69 MB / 0.9703 GB, free: 142.7 MB / 0.6043 GB Notification: Performance of SimCode: time 5.26e-06/1.669, allocations: 0 / 0.9703 GB, free: 142.7 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3276/1.996, allocations: 132.6 MB / 1.1 GB, free: 189.4 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/14.59, allocations: 8.938 kB / 1.1 GB, free: 189.4 MB / 0.6043 GB " [Timeout remaining time 645] (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: 16.959273433312774] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 14.74347810074687 14.750324854 14.409868116 Calling exit ...