Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.001878/0.001878, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.002193/0.002193, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.458/1.458, allocations: 230.5 MB / 254.7 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2355/0.2355, allocations: 46.93 MB / 357.7 MB, free: 10.21 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.JointSSR,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 75.88 kB / 0.4917 GB, free: 7.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1312, allocations: 66.04 MB / 0.5561 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.019/0.1502, allocations: 16.31 MB / 0.5721 GB, free: 5.184 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.1618, allocations: 5.369 MB / 0.5773 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002853/0.1647, allocations: 119.4 kB / 0.5774 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008445/0.1731, allocations: 4.213 MB / 0.5815 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00707/0.1802, allocations: 2.797 MB / 0.5843 GB, free: 8.648 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002901/0.1831, allocations: 1.271 MB / 0.5855 GB, free: 7.375 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.2929/0.476, allocations: 7.718 MB / 0.5931 GB, free: 6.551 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007592/0.4836, allocations: 4.962 MB / 0.5979 GB, free: 6.223 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006614/0.4902, allocations: 2.715 MB / 0.6006 GB, free: 6.059 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008874/0.499, allocations: 4.091 MB / 0.6046 GB, free: 5.676 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004826/0.5039, allocations: 0.5935 MB / 0.6051 GB, free: 5.676 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006283/0.5102, allocations: 1.795 MB / 0.6069 GB, free: 5.676 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006331/0.5165, allocations: 3.374 MB / 0.6102 GB, free: 5.277 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01015/0.5266, allocations: 3.807 MB / 0.6139 GB, free: 3.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02111/0.5477, allocations: 12.43 MB / 0.626 GB, free: 13.74 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.5477, allocations: 3.656 kB / 0.626 GB, free: 13.74 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5477, allocations: 4 kB / 0.626 GB, free: 13.73 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005089/0.5483, allocations: 0 / 0.626 GB, free: 13.73 MB / 462.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.0236/0.5719, allocations: 8.165 MB / 0.634 GB, free: 8.285 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.5719, allocations: 7.156 kB / 0.634 GB, free: 8.285 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003867/0.5758, allocations: 1.305 MB / 0.6353 GB, free: 7.504 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03088/0.6066, allocations: 5.746 MB / 0.6409 GB, free: 4.602 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01328/0.6199, allocations: 4.901 MB / 0.6457 GB, free: 320 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004647/0.6204, allocations: 404.4 kB / 0.6461 GB, free: 15.97 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002841/0.6232, allocations: 0.5524 MB / 0.6466 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04145/0.6647, allocations: 18.83 MB / 0.665 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002693/0.665, allocations: 74.64 kB / 0.6651 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001894/0.6668, allocations: 246.2 kB / 0.6653 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005948/0.6728, allocations: 3.431 MB / 0.6687 GB, free: 8.324 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0381/0.7109, allocations: 16.51 MB / 0.6848 GB, free: 8.078 MB / 0.4981 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.1076/0.8185, allocations: 66.63 MB / 0.7499 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01742/0.8359, allocations: 6.053 MB / 0.7558 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004944/0.8408, allocations: 2.651 MB / 0.7584 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02823/0.8691, allocations: 13.92 MB / 0.7719 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.737e-05/0.8691, allocations: 74.78 kB / 0.772 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=284): time 5.54e-06/0.8691, allocations: 0 / 0.772 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of matching and sorting (n=345): time 0.09233/0.9615, allocations: 25.24 MB / 0.7967 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/0.9616, allocations: 192.3 kB / 0.7969 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01076/0.9724, allocations: 5.909 MB / 0.8026 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0006864/0.9731, allocations: 75.12 kB / 0.8027 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.005167/0.9782, allocations: 5.185 MB / 0.8078 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.002225/0.9805, allocations: 1.34 MB / 0.8091 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003841/0.9843, allocations: 1.872 MB / 0.8109 GB, free: 5.215 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.9845, allocations: 312.9 kB / 0.8112 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006936/0.9914, allocations: 3.298 MB / 0.8144 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01233/1.004, allocations: 8.765 MB / 0.823 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01901/1.023, allocations: 13.06 MB / 0.8357 GB, free: 6.734 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001778/1.023, allocations: 56 kB / 0.8358 GB, free: 6.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.3205/1.343, allocations: 12.82 MB / 0.8483 GB, free: 217.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001912/1.344, allocations: 88.05 kB / 0.8484 GB, free: 217.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004379/1.344, allocations: 191.5 kB / 0.8486 GB, free: 217.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005276/1.349, allocations: 1.315 MB / 0.8499 GB, free: 217.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008434/1.358, allocations: 2.164 MB / 0.852 GB, free: 217.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/1.372, allocations: 7.861 MB / 0.8596 GB, free: 214.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008328/1.38, allocations: 0.4978 MB / 0.8601 GB, free: 214.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00217/1.382, allocations: 0.5423 MB / 0.8607 GB, free: 214.5 MB / 0.6544 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.009781/1.392, allocations: 3.445 MB / 0.864 GB, free: 213.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001624/1.394, allocations: 0.5531 MB / 0.8646 GB, free: 213.2 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01748/1.411, allocations: 5.398 MB / 0.8698 GB, free: 211.2 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-05/1.411, allocations: 42.91 kB / 0.8699 GB, free: 211.2 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.75e-05/1.411, allocations: 7.875 kB / 0.8699 GB, free: 211.2 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.802e-05/1.411, allocations: 12.84 kB / 0.8699 GB, free: 211.2 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03962/1.451, allocations: 13.91 MB / 0.8835 GB, free: 205.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.697e-05/1.451, allocations: 15.94 kB / 0.8835 GB, free: 205.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003412/1.454, allocations: 0.4963 MB / 0.884 GB, free: 205.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00465/1.459, allocations: 0.8068 MB / 0.8848 GB, free: 205.6 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005982/1.46, allocations: 70.81 kB / 0.8848 GB, free: 205.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01257/1.472, allocations: 5.82 MB / 0.8905 GB, free: 202.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.449e-05/1.472, allocations: 19.31 kB / 0.8905 GB, free: 202.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01571/1.488, allocations: 8.315 MB / 0.8987 GB, free: 196.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001527/1.49, allocations: 0.5878 MB / 0.8992 GB, free: 195.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001184/1.491, allocations: 62.02 kB / 0.8993 GB, free: 195.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002572/1.493, allocations: 137.3 kB / 0.8994 GB, free: 195.4 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005633/1.494, allocations: 222.2 kB / 0.8996 GB, free: 195.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002243/1.494, allocations: 104.6 kB / 0.8997 GB, free: 195.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00636/1.5, allocations: 3.666 MB / 0.9033 GB, free: 192.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.2e-07/1.5, allocations: 0 / 0.9033 GB, free: 192.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009695/1.51, allocations: 1.607 MB / 0.9049 GB, free: 190.5 MB / 0.6544 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.01439/1.525, allocations: 9.067 MB / 0.9137 GB, free: 182.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01192/1.536, allocations: 7.498 MB / 0.9211 GB, free: 174.9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/1.536, allocations: 0 / 0.9211 GB, free: 174.9 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.004097/1.541, allocations: 2.213 MB / 0.9232 GB, free: 172.7 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006318/1.547, allocations: 0.7108 MB / 0.9239 GB, free: 172 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1405/1.687, allocations: 73.68 MB / 0.9959 GB, free: 89.38 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009447/1.697, allocations: 5.157 MB / 1.001 GB, free: 84.18 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00789/1.705, allocations: 2.958 MB / 1.004 GB, free: 81.21 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00623/1.711, allocations: 3.327 MB / 1.007 GB, free: 77.88 MB / 0.6544 GB Notification: Performance of SimCode: time 1.993e-06/1.711, allocations: 0 / 1.007 GB, free: 77.88 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4788/2.19, allocations: 111.2 MB / 1.116 GB, free: 235.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.38/26.57, allocations: 8.234 kB / 1.116 GB, free: 235.1 MB / 0.67 GB " [Timeout remaining time 633] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointSSR.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 29.86510200193152] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 26.725989061873406 26.736358475 26.18597229 Calling exit ...