Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00131/0.00131, allocations: 111.6 kB / 20.43 MB, free: 1.473 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.001508/0.001508, allocations: 209 kB / 23.74 MB, free: 4.691 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.516/1.516, allocations: 230.6 MB / 257.5 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2666/0.2666, allocations: 46.93 MB / 360.9 MB, free: 4.277 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_FourbarVariants_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSR,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_FourbarVariants_JointUSR",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.91 kB / 0.4962 GB, free: 7.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3819, allocations: 66.04 MB / 0.5606 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02105/0.403, allocations: 17.75 MB / 0.578 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01466/0.4176, allocations: 5.749 MB / 0.5836 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00388/0.4215, allocations: 127.4 kB / 0.5837 GB, free: 12.92 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00977/0.4313, allocations: 4.656 MB / 0.5883 GB, free: 8.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009369/0.4406, allocations: 3.082 MB / 0.5913 GB, free: 5.156 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004512/0.4452, allocations: 1.494 MB / 0.5927 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01505/0.4602, allocations: 8.954 MB / 0.6015 GB, free: 10.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008372/0.4686, allocations: 5.238 MB / 0.6066 GB, free: 5.379 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006579/0.4752, allocations: 3.065 MB / 0.6096 GB, free: 2.305 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008587/0.4837, allocations: 4.611 MB / 0.6141 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002545/0.4863, allocations: 0.6641 MB / 0.6147 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00486/0.4912, allocations: 1.885 MB / 0.6166 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005339/0.4965, allocations: 3.806 MB / 0.6203 GB, free: 7.309 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007783/0.5043, allocations: 4.222 MB / 0.6244 GB, free: 3.062 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0199/0.5242, allocations: 13.65 MB / 0.6377 GB, free: 5.363 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.5242, allocations: 0 / 0.6377 GB, free: 5.363 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5242, allocations: 3.938 kB / 0.6377 GB, free: 5.359 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003743/0.5246, allocations: 3.938 kB / 0.6377 GB, free: 5.355 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.02491/0.5495, allocations: 9.264 MB / 0.6468 GB, free: 12.01 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.5495, allocations: 8.031 kB / 0.6468 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00482/0.5543, allocations: 1.423 MB / 0.6482 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03276/0.5871, allocations: 6.013 MB / 0.6541 GB, free: 4.539 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01593/0.603, allocations: 5.92 MB / 0.6598 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004983/0.6035, allocations: 438.9 kB / 0.6603 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002783/0.6063, allocations: 0.6128 MB / 0.6609 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04368/0.65, allocations: 20.56 MB / 0.6809 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002597/0.6502, allocations: 75.39 kB / 0.681 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001578/0.6518, allocations: 275.7 kB / 0.6813 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00643/0.6583, allocations: 3.714 MB / 0.6849 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04029/0.6985, allocations: 18.08 MB / 0.7026 GB, free: 1.621 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.6583/1.357, allocations: 74.11 MB / 0.7749 GB, free: 103.3 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.016/1.373, allocations: 6.235 MB / 0.781 GB, free: 101.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005571/1.378, allocations: 3.746 MB / 0.7847 GB, free: 100.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02835/1.407, allocations: 15.36 MB / 0.7997 GB, free: 91.36 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/1.407, allocations: 63.91 kB / 0.7997 GB, free: 91.29 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=332): time 6.101e-06/1.407, allocations: 0 / 0.7997 GB, free: 91.29 MB / 0.5607 GB Notification: Performance of matching and sorting (n=413): time 0.1034/1.51, allocations: 34.22 MB / 0.8332 GB, free: 57.58 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.989e-05/1.51, allocations: 193.4 kB / 0.8333 GB, free: 57.36 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009838/1.52, allocations: 6.494 MB / 0.8397 GB, free: 50.99 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001012/1.521, allocations: 85.69 kB / 0.8398 GB, free: 50.9 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003598/1.525, allocations: 5.633 MB / 0.8453 GB, free: 45.61 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001891/1.527, allocations: 1.592 MB / 0.8468 GB, free: 44.04 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00294/1.53, allocations: 2.087 MB / 0.8489 GB, free: 41.94 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.564e-05/1.53, allocations: 302.5 kB / 0.8492 GB, free: 41.64 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005363/1.535, allocations: 4.182 MB / 0.8532 GB, free: 37.46 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009416/1.545, allocations: 10.07 MB / 0.8631 GB, free: 24.51 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0164/1.561, allocations: 15.37 MB / 0.8781 GB, free: 6.238 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001656/1.561, allocations: 60 kB / 0.8781 GB, free: 6.18 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1377) (initialization): time 0.03727/1.598, allocations: 15.94 MB / 0.8937 GB, free: 6.207 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001543/1.598, allocations: 92 kB / 0.8938 GB, free: 6.117 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003063/1.599, allocations: 204 kB / 0.894 GB, free: 5.918 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007981/1.607, allocations: 2.313 MB / 0.8962 GB, free: 3.605 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00871/1.615, allocations: 2.398 MB / 0.8986 GB, free: 1.203 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02169/1.637, allocations: 12.4 MB / 0.9107 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008982/1.646, allocations: 0.5775 MB / 0.9113 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00274/1.649, allocations: 0.5937 MB / 0.9118 GB, free: 3.512 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.01025/1.659, allocations: 3.762 MB / 0.9155 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002033/1.661, allocations: 0.6247 MB / 0.9161 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01939/1.681, allocations: 8.136 MB / 0.9241 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001106/1.681, allocations: 59.98 kB / 0.9241 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-05/1.681, allocations: 15.94 kB / 0.9241 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001009/1.681, allocations: 23.86 kB / 0.9242 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04643/1.727, allocations: 18.48 MB / 0.9422 GB, free: 4 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.177e-05/1.727, allocations: 15.94 kB / 0.9422 GB, free: 3.984 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003271/1.731, allocations: 0.6162 MB / 0.9428 GB, free: 3.367 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006938/1.738, allocations: 1.742 MB / 0.9445 GB, free: 1.621 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009202/1.738, allocations: 79.98 kB / 0.9446 GB, free: 1.543 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01848/1.757, allocations: 10.48 MB / 0.9548 GB, free: 6.941 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.068e-05/1.757, allocations: 19.88 kB / 0.9549 GB, free: 6.922 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02476/1.782, allocations: 12.17 MB / 0.9667 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002148/1.784, allocations: 0.5738 MB / 0.9673 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001676/1.786, allocations: 75.91 kB / 0.9674 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003409/1.789, allocations: 203.7 kB / 0.9676 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008115/1.79, allocations: 273.5 kB / 0.9678 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002757/1.79, allocations: 116 kB / 0.9679 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00788/1.798, allocations: 4.03 MB / 0.9719 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.11e-07/1.798, allocations: 0 / 0.9719 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01081/1.809, allocations: 1.871 MB / 0.9737 GB, free: 3.359 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.02575/1.834, allocations: 12.96 MB / 0.9864 GB, free: 6.117 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.3346/2.169, allocations: 9.406 MB / 0.9955 GB, free: 247.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.257e-05/2.169, allocations: 0 / 0.9955 GB, free: 247.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005385/2.174, allocations: 3.039 MB / 0.9985 GB, free: 246.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0059/2.18, allocations: 0.8036 MB / 0.9993 GB, free: 246.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1319/2.312, allocations: 87.82 MB / 1.085 GB, free: 163.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007405/2.32, allocations: 5.573 MB / 1.091 GB, free: 158.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00689/2.327, allocations: 3.312 MB / 1.094 GB, free: 154.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005665/2.332, allocations: 3.666 MB / 1.097 GB, free: 151.3 MB / 0.67 GB Notification: Performance of SimCode: time 1.212e-06/2.332, allocations: 4 kB / 1.097 GB, free: 151.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1923/2.525, allocations: 133.1 MB / 1.227 GB, free: 18.77 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 42.93/45.45, allocations: 3.859 kB / 1.227 GB, free: 18.77 MB / 0.67 GB " [Timeout remaining time 614] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_MultiBody_FourbarVariants_JointUSR.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 48.96919664199959] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 45.64364532800391 45.844126319 45.316448396 Calling exit ...