Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007965/0.0007965, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007912/0.0007912, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9415/0.9415, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2629/0.2629, allocations: 32.79 MB / 293.5 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_JointUSR",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 439.6 MB, free: 4.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.687e-05, allocations: 2.844 kB / 439.6 MB, free: 4.277 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.1916/0.1916, allocations: 15.33 MB / 454.9 MB, free: 37.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00691/0.1985, allocations: 5.467 MB / 460.4 MB, free: 34.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.1995, allocations: 130 kB / 460.5 MB, free: 34.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00362/0.2032, allocations: 4.68 MB / 465.2 MB, free: 32.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003894/0.207, allocations: 3.178 MB / 468.4 MB, free: 30.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.2086, allocations: 1.666 MB / 470 MB, free: 30.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005119/0.2138, allocations: 10.34 MB / 480.4 MB, free: 26.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004651/0.2184, allocations: 6.229 MB / 486.6 MB, free: 23.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00476/0.2232, allocations: 4.683 MB / 491.3 MB, free: 21.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005441/0.2286, allocations: 4.871 MB / 496.1 MB, free: 20.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001039/0.2297, allocations: 0.6783 MB / 496.8 MB, free: 20.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003034/0.2327, allocations: 1.841 MB / 498.7 MB, free: 20.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002919/0.2356, allocations: 3.975 MB / 0.4909 GB, free: 18.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002664/0.2383, allocations: 2.516 MB / 0.4933 GB, free: 16.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.2489, allocations: 13.88 MB / 0.5069 GB, free: 5.312 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2489, allocations: 0 / 0.5069 GB, free: 5.312 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2489, allocations: 0 / 0.5069 GB, free: 5.312 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003252/0.2492, allocations: 0 / 0.5069 GB, free: 5.312 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.01181/0.261, allocations: 9.413 MB / 0.5161 GB, free: 11.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.2611, allocations: 8.031 kB / 0.5161 GB, free: 11.81 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001306/0.2624, allocations: 1.438 MB / 0.5175 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0157/0.2781, allocations: 6.475 MB / 0.5238 GB, free: 3.875 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007826/0.2859, allocations: 5.296 MB / 0.529 GB, free: 14.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002175/0.2861, allocations: 430.9 kB / 0.5294 GB, free: 14.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009495/0.2871, allocations: 0.605 MB / 0.53 GB, free: 13.47 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02243/0.3095, allocations: 20.67 MB / 0.5501 GB, free: 7.637 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001747/0.3097, allocations: 87.27 kB / 0.5502 GB, free: 7.551 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005608/0.3102, allocations: 275.7 kB / 0.5505 GB, free: 7.281 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003529/0.3137, allocations: 3.714 MB / 0.5541 GB, free: 3.566 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02158/0.3353, allocations: 18.08 MB / 0.5718 GB, free: 1.473 MB / 474.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.4352/0.7705, allocations: 71.57 MB / 0.6417 GB, free: 100.8 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01026/0.7808, allocations: 6.487 MB / 0.648 GB, free: 100.6 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004318/0.7851, allocations: 3.754 MB / 0.6517 GB, free: 100.4 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0197/0.8048, allocations: 14.93 MB / 0.6662 GB, free: 95.13 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.008e-05/0.8049, allocations: 68.41 kB / 0.6663 GB, free: 95.07 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=332): time 6.032e-06/0.8049, allocations: 0.625 kB / 0.6663 GB, free: 95.07 MB / 0.5262 GB Notification: Performance of matching and sorting (n=413): time 0.07159/0.8765, allocations: 35.76 MB / 0.7012 GB, free: 85.19 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.8765, allocations: 196.5 kB / 0.7014 GB, free: 85 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007827/0.8844, allocations: 7.491 MB / 0.7087 GB, free: 82.47 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0008412/0.8852, allocations: 88.16 kB / 0.7088 GB, free: 82.4 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002163/0.8874, allocations: 5.59 MB / 0.7143 GB, free: 78.21 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001729/0.8891, allocations: 1.567 MB / 0.7158 GB, free: 77.04 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002036/0.8911, allocations: 2.056 MB / 0.7178 GB, free: 75.7 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 3.619e-05/0.8912, allocations: 305.1 kB / 0.7181 GB, free: 75.4 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004028/0.8952, allocations: 4.196 MB / 0.7222 GB, free: 71.83 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005965/0.9012, allocations: 10.12 MB / 0.7321 GB, free: 59.73 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01308/0.9143, allocations: 15.39 MB / 0.7471 GB, free: 42.47 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003069/0.9146, allocations: 61.5 kB / 0.7472 GB, free: 42.41 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1377) (initialization): time 0.02263/0.9372, allocations: 15.99 MB / 0.7628 GB, free: 26.39 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 9.145e-05/0.9373, allocations: 92 kB / 0.7629 GB, free: 26.3 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001762/0.9375, allocations: 204 kB / 0.7631 GB, free: 26.1 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003965/0.9414, allocations: 2.309 MB / 0.7653 GB, free: 23.79 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005098/0.9465, allocations: 2.416 MB / 0.7677 GB, free: 21.37 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/0.9581, allocations: 12.27 MB / 0.7797 GB, free: 8.98 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007241/0.9653, allocations: 0.7374 MB / 0.7804 GB, free: 8.242 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001721/0.967, allocations: 0.5898 MB / 0.781 GB, free: 7.652 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.006548/0.9736, allocations: 3.757 MB / 0.7846 GB, free: 3.883 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001925/0.9755, allocations: 0.6247 MB / 0.7853 GB, free: 3.254 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/0.9868, allocations: 8.134 MB / 0.7932 GB, free: 11.07 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.444e-05/0.9869, allocations: 63.98 kB / 0.7933 GB, free: 11.01 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-05/0.9869, allocations: 11.94 kB / 0.7933 GB, free: 11 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.64e-05/0.9869, allocations: 18.28 kB / 0.7933 GB, free: 10.98 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0302/1.017, allocations: 17.53 MB / 0.8104 GB, free: 9.254 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.439e-05/1.017, allocations: 13.38 kB / 0.8104 GB, free: 9.242 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/1.019, allocations: 0.6123 MB / 0.811 GB, free: 8.629 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00358/1.022, allocations: 1.752 MB / 0.8127 GB, free: 6.875 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004584/1.023, allocations: 79.98 kB / 0.8128 GB, free: 6.797 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01132/1.034, allocations: 10.38 MB / 0.8229 GB, free: 12.31 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.395e-05/1.034, allocations: 15.94 kB / 0.823 GB, free: 12.3 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01534/1.05, allocations: 12.17 MB / 0.8348 GB, free: 15.86 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002002/1.052, allocations: 0.6596 MB / 0.8355 GB, free: 15.2 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001246/1.053, allocations: 75.98 kB / 0.8356 GB, free: 15.12 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002178/1.055, allocations: 297.5 kB / 0.8358 GB, free: 14.84 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005191/1.056, allocations: 273.4 kB / 0.8361 GB, free: 14.57 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002049/1.056, allocations: 110 kB / 0.8362 GB, free: 14.46 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.00638/1.062, allocations: 4.553 MB / 0.8407 GB, free: 9.918 MB / 0.5887 GB Notification: Performance of sort global known variables: time 1.81e-07/1.062, allocations: 0 / 0.8407 GB, free: 9.918 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.009053/1.071, allocations: 2.103 MB / 0.8427 GB, free: 7.816 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.01549/1.087, allocations: 12.94 MB / 0.8553 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.01304/1.1, allocations: 9.426 MB / 0.8645 GB, free: 1.188 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.538e-05/1.1, allocations: 0 / 0.8645 GB, free: 1.188 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.1909/1.291, allocations: 3.046 MB / 0.8675 GB, free: 213.6 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004496/1.295, allocations: 0.8106 MB / 0.8683 GB, free: 213.6 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1175/1.413, allocations: 89.75 MB / 0.956 GB, free: 157.3 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008054/1.421, allocations: 5.111 MB / 0.961 GB, free: 153.6 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.005967/1.427, allocations: 3.343 MB / 0.9642 GB, free: 151.5 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004744/1.431, allocations: 3.687 MB / 0.9678 GB, free: 148 MB / 0.6043 GB Notification: Performance of SimCode: time 1.142e-06/1.431, allocations: 0 / 0.9678 GB, free: 148 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1404/1.572, allocations: 132.7 MB / 1.097 GB, free: 18.07 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/15.89, allocations: 11.44 kB / 1.097 GB, free: 18.06 MB / 0.6043 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_MultiBody_FourbarVariants_JointUSR.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.40828752797097] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 16.041885945014656 16.240042091 15.989474791 Calling exit ...