Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001337/0.001337, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001406/0.001406, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.448/1.448, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.2299/0.2299, allocations: 46.93 MB / 361.6 MB, free: 4.199 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.JointUSR,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSR,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointUSR",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.002313/0.002313, allocations: 79.86 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3228, allocations: 66.09 MB / 0.5615 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01964/0.3425, allocations: 17.75 MB / 0.5788 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01362/0.3561, allocations: 5.745 MB / 0.5844 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00511/0.3612, allocations: 135.4 kB / 0.5846 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009609/0.3708, allocations: 4.66 MB / 0.5891 GB, free: 7.891 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008802/0.3796, allocations: 3.066 MB / 0.5921 GB, free: 4.812 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004198/0.3838, allocations: 1.498 MB / 0.5936 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01563/0.3994, allocations: 8.95 MB / 0.6023 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009814/0.4093, allocations: 5.245 MB / 0.6074 GB, free: 5.027 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006541/0.4158, allocations: 3.057 MB / 0.6104 GB, free: 1.961 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008536/0.4243, allocations: 4.615 MB / 0.6149 GB, free: 13.33 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002691/0.427, allocations: 0.664 MB / 0.6156 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006029/0.4331, allocations: 1.877 MB / 0.6174 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006929/0.44, allocations: 3.81 MB / 0.6211 GB, free: 6.965 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00936/0.4493, allocations: 4.226 MB / 0.6253 GB, free: 2.715 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02097/0.4703, allocations: 13.65 MB / 0.6386 GB, free: 5.012 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.4703, allocations: 0 / 0.6386 GB, free: 5.012 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4703, allocations: 3.938 kB / 0.6386 GB, free: 5.008 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005649/0.4709, allocations: 0 / 0.6386 GB, free: 5.008 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.02692/0.4978, allocations: 9.264 MB / 0.6476 GB, free: 11.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.426e-05/0.4979, allocations: 8.031 kB / 0.6477 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00542/0.5033, allocations: 1.427 MB / 0.649 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03086/0.5342, allocations: 6.009 MB / 0.6549 GB, free: 4.191 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0161/0.5503, allocations: 5.935 MB / 0.6607 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006159/0.5509, allocations: 431 kB / 0.6611 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003298/0.5542, allocations: 0.6089 MB / 0.6617 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04914/0.6033, allocations: 20.57 MB / 0.6818 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003893/0.6037, allocations: 75.41 kB / 0.6819 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002457/0.6062, allocations: 275.7 kB / 0.6821 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006417/0.6126, allocations: 3.714 MB / 0.6858 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04292/0.6555, allocations: 18.08 MB / 0.7034 GB, free: 1.273 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.6097/1.265, allocations: 74.11 MB / 0.7758 GB, free: 102.9 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01568/1.281, allocations: 6.238 MB / 0.7819 GB, free: 101.2 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004904/1.286, allocations: 3.749 MB / 0.7855 GB, free: 99.75 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02706/1.313, allocations: 15.34 MB / 0.8005 GB, free: 90.93 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/1.313, allocations: 68.38 kB / 0.8006 GB, free: 90.86 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=332): time 7.033e-06/1.313, allocations: 0 / 0.8006 GB, free: 90.86 MB / 0.5607 GB Notification: Performance of matching and sorting (n=413): time 0.102/1.415, allocations: 34.23 MB / 0.834 GB, free: 57.14 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.511e-05/1.415, allocations: 193.4 kB / 0.8342 GB, free: 56.91 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008622/1.424, allocations: 6.498 MB / 0.8406 GB, free: 50.54 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008328/1.424, allocations: 81.7 kB / 0.8406 GB, free: 50.46 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003222/1.428, allocations: 5.642 MB / 0.8461 GB, free: 45.16 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002018/1.43, allocations: 1.59 MB / 0.8477 GB, free: 43.59 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003095/1.433, allocations: 2.08 MB / 0.8497 GB, free: 41.5 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 7.235e-05/1.433, allocations: 302.5 kB / 0.85 GB, free: 41.2 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005952/1.439, allocations: 4.178 MB / 0.8541 GB, free: 37.02 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00879/1.448, allocations: 10.07 MB / 0.8639 GB, free: 24.07 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01549/1.463, allocations: 15.36 MB / 0.8789 GB, free: 5.801 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00018/1.463, allocations: 60 kB / 0.879 GB, free: 5.742 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1377) (initialization): time 0.03758/1.501, allocations: 15.94 MB / 0.8946 GB, free: 5.766 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001825/1.501, allocations: 92 kB / 0.8946 GB, free: 5.676 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003064/1.501, allocations: 207.9 kB / 0.8948 GB, free: 5.473 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008287/1.51, allocations: 2.318 MB / 0.8971 GB, free: 3.152 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008991/1.519, allocations: 2.398 MB / 0.8994 GB, free: 0.75 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02245/1.541, allocations: 12.39 MB / 0.9116 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008744/1.55, allocations: 0.5776 MB / 0.9121 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002145/1.552, allocations: 0.5898 MB / 0.9127 GB, free: 3.07 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.008655/1.561, allocations: 3.766 MB / 0.9164 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001538/1.562, allocations: 0.6286 MB / 0.917 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01897/1.581, allocations: 8.138 MB / 0.9249 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001444/1.581, allocations: 59.98 kB / 0.925 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.266e-05/1.581, allocations: 12 kB / 0.925 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001117/1.581, allocations: 23.81 kB / 0.925 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04445/1.626, allocations: 18.48 MB / 0.9431 GB, free: 3.535 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.241e-05/1.626, allocations: 12 kB / 0.9431 GB, free: 3.523 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003303/1.629, allocations: 0.6123 MB / 0.9437 GB, free: 2.91 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006881/1.636, allocations: 1.749 MB / 0.9454 GB, free: 1.156 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007234/1.637, allocations: 83.98 kB / 0.9455 GB, free: 1.074 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01877/1.656, allocations: 10.48 MB / 0.9557 GB, free: 6.473 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.475e-05/1.656, allocations: 19.88 kB / 0.9557 GB, free: 6.453 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02436/1.68, allocations: 12.16 MB / 0.9676 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00195/1.682, allocations: 0.5737 MB / 0.9682 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001729/1.684, allocations: 79.98 kB / 0.9682 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003815/1.687, allocations: 203.7 kB / 0.9684 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001048/1.688, allocations: 265.6 kB / 0.9687 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003299/1.689, allocations: 116 kB / 0.9688 GB, free: 8.793 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.008669/1.697, allocations: 4.034 MB / 0.9727 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.2e-07/1.697, allocations: 0 / 0.9727 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009751/1.707, allocations: 1.879 MB / 0.9746 GB, free: 2.891 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.02474/1.732, allocations: 12.95 MB / 0.9872 GB, free: 5.664 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.2887/2.021, allocations: 9.408 MB / 0.9964 GB, free: 246.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/2.021, allocations: 0 / 0.9964 GB, free: 246.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004681/2.025, allocations: 3.045 MB / 0.9994 GB, free: 246.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00436/2.03, allocations: 0.8138 MB / 1 GB, free: 246.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1235/2.153, allocations: 87.81 MB / 1.086 GB, free: 162.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007405/2.161, allocations: 5.577 MB / 1.091 GB, free: 157.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006628/2.167, allocations: 3.308 MB / 1.095 GB, free: 153.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004637/2.172, allocations: 3.67 MB / 1.098 GB, free: 150.3 MB / 0.67 GB Notification: Performance of SimCode: time 1.082e-06/2.172, allocations: 0 / 1.098 GB, free: 150.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1896/2.362, allocations: 133.1 MB / 1.228 GB, free: 17.75 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.27/39.63, allocations: 7.203 kB / 1.228 GB, free: 17.75 MB / 0.67 GB " [Timeout remaining time 620] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointUSR.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 42.966514761094004] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 39.81954354792833 40.102368741 39.628933477 Calling exit ...