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.001889/0.001889, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002516/0.002516, allocations: 214 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.53/1.53, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.2183/0.2183, allocations: 44.93 MB / 358.8 MB, free: 6.035 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 63.91 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3286, allocations: 65.47 MB / 0.557 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02074/0.3493, allocations: 15.33 MB / 0.5719 GB, free: 8.145 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01383/0.3632, allocations: 5.444 MB / 0.5772 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002997/0.3662, allocations: 135.4 kB / 0.5774 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009873/0.376, allocations: 4.462 MB / 0.5817 GB, free: 14.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008892/0.3849, allocations: 3.086 MB / 0.5847 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00382/0.3887, allocations: 1.501 MB / 0.5862 GB, free: 9.484 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0138/0.4025, allocations: 8.944 MB / 0.5949 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008733/0.4113, allocations: 5.218 MB / 0.6 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006365/0.4176, allocations: 3.057 MB / 0.603 GB, free: 8.164 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007888/0.4255, allocations: 4.373 MB / 0.6073 GB, free: 3.777 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002898/0.4284, allocations: 0.6602 MB / 0.6079 GB, free: 3.117 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005126/0.4335, allocations: 1.725 MB / 0.6096 GB, free: 1.391 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006023/0.4396, allocations: 3.81 MB / 0.6133 GB, free: 13.56 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006709/0.4463, allocations: 3.15 MB / 0.6164 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02009/0.4664, allocations: 13.72 MB / 0.6298 GB, free: 12.62 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4664, allocations: 0 / 0.6298 GB, free: 12.62 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4664, allocations: 0 / 0.6298 GB, free: 12.62 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004108/0.4668, allocations: 0 / 0.6298 GB, free: 12.62 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.03076/0.4975, allocations: 9.264 MB / 0.6389 GB, free: 3.273 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.898e-05/0.4976, allocations: 8.031 kB / 0.6389 GB, free: 3.266 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006251/0.5039, allocations: 1.427 MB / 0.6403 GB, free: 1.828 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04981/0.5537, allocations: 6.006 MB / 0.6461 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01489/0.5686, allocations: 5.962 MB / 0.652 GB, free: 5.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004639/0.569, allocations: 438.9 kB / 0.6524 GB, free: 5.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00235/0.5714, allocations: 0.5972 MB / 0.653 GB, free: 4.723 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.042/0.6134, allocations: 20.65 MB / 0.6731 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003012/0.6137, allocations: 79.39 kB / 0.6732 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001423/0.6151, allocations: 271.7 kB / 0.6735 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007448/0.6225, allocations: 3.714 MB / 0.6771 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03935/0.6619, allocations: 18.05 MB / 0.6947 GB, free: 8.789 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.5906/1.253, allocations: 70.58 MB / 0.7636 GB, free: 108.7 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0154/1.268, allocations: 6.219 MB / 0.7697 GB, free: 107.1 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004504/1.272, allocations: 3.742 MB / 0.7734 GB, free: 105.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02646/1.299, allocations: 14.57 MB / 0.7876 GB, free: 98.24 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.651e-05/1.299, allocations: 63.84 kB / 0.7877 GB, free: 98.17 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=332): time 8.336e-06/1.299, allocations: 0.6875 kB / 0.7877 GB, free: 98.17 MB / 0.5607 GB Notification: Performance of matching and sorting (n=413): time 0.1005/1.399, allocations: 34.3 MB / 0.8212 GB, free: 64.5 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/1.4, allocations: 200.3 kB / 0.8213 GB, free: 64.27 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008199/1.408, allocations: 6.843 MB / 0.828 GB, free: 57.68 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008982/1.409, allocations: 92.81 kB / 0.8281 GB, free: 57.59 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002592/1.411, allocations: 5.627 MB / 0.8336 GB, free: 52.17 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001719/1.413, allocations: 1.597 MB / 0.8352 GB, free: 50.6 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00252/1.415, allocations: 2.081 MB / 0.8372 GB, free: 48.51 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.591e-05/1.415, allocations: 301.1 kB / 0.8375 GB, free: 48.21 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005053/1.421, allocations: 4.182 MB / 0.8416 GB, free: 44.02 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007816/1.428, allocations: 10.1 MB / 0.8514 GB, free: 31.13 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02166/1.45, allocations: 15.37 MB / 0.8664 GB, free: 12.9 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000255/1.45, allocations: 60 kB / 0.8665 GB, free: 12.84 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1377) (initialization): time 0.03496/1.485, allocations: 15.94 MB / 0.8821 GB, free: 12.88 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001714/1.485, allocations: 92 kB / 0.8822 GB, free: 12.79 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002934/1.486, allocations: 204.2 kB / 0.8824 GB, free: 12.59 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008068/1.494, allocations: 2.311 MB / 0.8846 GB, free: 10.27 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008981/1.503, allocations: 2.402 MB / 0.887 GB, free: 7.863 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02149/1.524, allocations: 12.25 MB / 0.8989 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007433/1.532, allocations: 0.5853 MB / 0.8995 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001697/1.533, allocations: 0.5898 MB / 0.9001 GB, free: 10.32 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.007438/1.541, allocations: 3.757 MB / 0.9037 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001325/1.542, allocations: 0.6247 MB / 0.9043 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01765/1.56, allocations: 8.14 MB / 0.9123 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001027/1.56, allocations: 52.86 kB / 0.9123 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.217e-05/1.56, allocations: 15.98 kB / 0.9124 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-05/1.56, allocations: 15.94 kB / 0.9124 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04261/1.603, allocations: 17.35 MB / 0.9293 GB, free: 12.11 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.571e-05/1.603, allocations: 12.22 kB / 0.9293 GB, free: 12.1 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002937/1.606, allocations: 0.6162 MB / 0.9299 GB, free: 11.48 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006615/1.612, allocations: 1.749 MB / 0.9316 GB, free: 9.73 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005438/1.613, allocations: 83.97 kB / 0.9317 GB, free: 9.648 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01862/1.631, allocations: 10.34 MB / 0.9418 GB, free: 15.18 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.788e-05/1.631, allocations: 19.88 kB / 0.9418 GB, free: 15.16 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0229/1.654, allocations: 12.17 MB / 0.9537 GB, free: 2.723 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001676/1.656, allocations: 0.5777 MB / 0.9543 GB, free: 2.141 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008685/1.657, allocations: 75.94 kB / 0.9544 GB, free: 2.066 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002553/1.659, allocations: 203.7 kB / 0.9545 GB, free: 1.867 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006211/1.66, allocations: 265.6 kB / 0.9548 GB, free: 1.605 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002717/1.66, allocations: 116 kB / 0.9549 GB, free: 1.492 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.006738/1.667, allocations: 4.034 MB / 0.9589 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.5e-07/1.667, allocations: 3.938 kB / 0.9589 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.008481/1.675, allocations: 1.875 MB / 0.9607 GB, free: 11.59 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.02408/1.7, allocations: 12.93 MB / 0.9733 GB, free: 14.38 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01864/1.718, allocations: 9.412 MB / 0.9825 GB, free: 4.977 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.169e-05/1.718, allocations: 4 kB / 0.9825 GB, free: 4.973 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006079/1.724, allocations: 3.051 MB / 0.9855 GB, free: 1.906 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005461/1.73, allocations: 0.8061 MB / 0.9863 GB, free: 1.109 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3784/2.108, allocations: 87.79 MB / 1.072 GB, free: 174.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006156/2.114, allocations: 5.109 MB / 1.077 GB, free: 169 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006497/2.121, allocations: 3.309 MB / 1.08 GB, free: 165.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004077/2.125, allocations: 3.666 MB / 1.084 GB, free: 162.1 MB / 0.67 GB Notification: Performance of SimCode: time 9.42e-07/2.125, allocations: 0 / 1.084 GB, free: 162.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1747/2.3, allocations: 129.4 MB / 1.21 GB, free: 33.76 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.09/24.39, allocations: 7.719 kB / 1.21 GB, free: 33.76 MB / 0.67 GB " [Timeout remaining time 635] (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: 27.729941349942237] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 24.58842831896618 24.607307926 24.136920788 Calling exit ...