Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001492/0.001492, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001536/0.001536, allocations: 214.6 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2176/0.2176, allocations: 44.27 MB / 330.3 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointUSR",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.00232/0.00232, allocations: 71.91 kB / 467.5 MB, free: 4.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.125, allocations: 61.05 MB / 0.5162 GB, free: 7.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01905/0.1441, allocations: 15.45 MB / 0.5312 GB, free: 7.645 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01414/0.1582, allocations: 5.427 MB / 0.5365 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003237/0.1614, allocations: 131.4 kB / 0.5367 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2693/0.4307, allocations: 4.476 MB / 0.541 GB, free: 9.875 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008304/0.439, allocations: 3.132 MB / 0.5441 GB, free: 9.762 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003736/0.4428, allocations: 1.503 MB / 0.5456 GB, free: 9.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01452/0.4573, allocations: 8.611 MB / 0.554 GB, free: 9.512 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009455/0.4667, allocations: 5.26 MB / 0.5591 GB, free: 7.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007632/0.4744, allocations: 3.075 MB / 0.5621 GB, free: 6.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009399/0.4838, allocations: 4.405 MB / 0.5664 GB, free: 4.395 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004405/0.4882, allocations: 0.6635 MB / 0.5671 GB, free: 4.395 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00846/0.4966, allocations: 1.734 MB / 0.5688 GB, free: 3.867 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008431/0.505, allocations: 3.859 MB / 0.5725 GB, free: 1.613 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01058/0.5156, allocations: 3.198 MB / 0.5756 GB, free: 15.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02644/0.5421, allocations: 13.85 MB / 0.5892 GB, free: 6.164 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.5421, allocations: 4 kB / 0.5892 GB, free: 6.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5421, allocations: 0 / 0.5892 GB, free: 6.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007042/0.5428, allocations: 1.406 kB / 0.5892 GB, free: 6.16 MB / 430.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.02779/0.5706, allocations: 9.357 MB / 0.5983 GB, free: 12.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.5706, allocations: 12.03 kB / 0.5983 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003735/0.5744, allocations: 1.421 MB / 0.5997 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03174/0.6061, allocations: 6.017 MB / 0.6056 GB, free: 5.555 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01758/0.6237, allocations: 6.997 MB / 0.6124 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006053/0.6243, allocations: 440.3 kB / 0.6128 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003948/0.6282, allocations: 0.6091 MB / 0.6134 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04995/0.6782, allocations: 20.62 MB / 0.6336 GB, free: 8.09 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005191/0.6787, allocations: 79.33 kB / 0.6337 GB, free: 8.012 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002824/0.6815, allocations: 277.5 kB / 0.6339 GB, free: 7.809 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006895/0.6884, allocations: 3.717 MB / 0.6375 GB, free: 4.113 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04546/0.7339, allocations: 18.05 MB / 0.6552 GB, free: 2.066 MB / 494.1 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.1295/0.8634, allocations: 70.65 MB / 0.7242 GB, free: 10 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01937/0.8828, allocations: 6.212 MB / 0.7302 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008277/0.891, allocations: 3.742 MB / 0.7339 GB, free: 4 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0381/0.9291, allocations: 14.58 MB / 0.7481 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.006e-05/0.9292, allocations: 68.5 kB / 0.7482 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=332): time 8.255e-06/0.9292, allocations: 0 / 0.7482 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of matching and sorting (n=413): time 0.3642/1.293, allocations: 34.86 MB / 0.7822 GB, free: 185.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.576e-05/1.294, allocations: 192.9 kB / 0.7824 GB, free: 185.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.012/1.306, allocations: 6.91 MB / 0.7892 GB, free: 182.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001091/1.307, allocations: 89.09 kB / 0.7892 GB, free: 182.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004977/1.312, allocations: 5.659 MB / 0.7948 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002738/1.314, allocations: 1.585 MB / 0.7963 GB, free: 176.9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004705/1.319, allocations: 2.087 MB / 0.7984 GB, free: 175.9 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.654e-05/1.319, allocations: 302.3 kB / 0.7986 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006994/1.326, allocations: 4.177 MB / 0.8027 GB, free: 174.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0093/1.335, allocations: 10.09 MB / 0.8126 GB, free: 164.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0156/1.351, allocations: 15.35 MB / 0.8276 GB, free: 152.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003802/1.351, allocations: 55.38 kB / 0.8276 GB, free: 152.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1377) (initialization): time 0.03428/1.386, allocations: 15.95 MB / 0.8432 GB, free: 143.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001508/1.386, allocations: 92 kB / 0.8433 GB, free: 143.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002767/1.386, allocations: 204 kB / 0.8435 GB, free: 143.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007/1.393, allocations: 2.307 MB / 0.8457 GB, free: 141.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007891/1.401, allocations: 2.41 MB / 0.8481 GB, free: 138.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01611/1.417, allocations: 12.25 MB / 0.86 GB, free: 126.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01242/1.429, allocations: 0.5736 MB / 0.8606 GB, free: 125.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002471/1.432, allocations: 0.5909 MB / 0.8612 GB, free: 125.3 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.01053/1.442, allocations: 3.765 MB / 0.8649 GB, free: 121.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002492/1.445, allocations: 0.6325 MB / 0.8655 GB, free: 120.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02232/1.467, allocations: 8.142 MB / 0.8734 GB, free: 112.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001168/1.467, allocations: 67.66 kB / 0.8735 GB, free: 112.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-05/1.467, allocations: 8 kB / 0.8735 GB, free: 112.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.775e-05/1.468, allocations: 19.92 kB / 0.8735 GB, free: 112.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05286/1.52, allocations: 17.34 MB / 0.8905 GB, free: 95.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.6e-05/1.52, allocations: 16.03 kB / 0.8905 GB, free: 95.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004315/1.525, allocations: 0.6137 MB / 0.8911 GB, free: 94.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008446/1.533, allocations: 1.749 MB / 0.8928 GB, free: 92.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009802/1.534, allocations: 79.98 kB / 0.8929 GB, free: 92.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02124/1.555, allocations: 10.35 MB / 0.903 GB, free: 82.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-05/1.555, allocations: 16.81 kB / 0.903 GB, free: 82.14 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02825/1.584, allocations: 12.18 MB / 0.9149 GB, free: 69.71 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005834/1.59, allocations: 1.105 MB / 0.9159 GB, free: 68.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002891/1.592, allocations: 71.98 kB / 0.916 GB, free: 68.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00544/1.598, allocations: 203.8 kB / 0.9162 GB, free: 68.33 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009374/1.599, allocations: 273.4 kB / 0.9165 GB, free: 68.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003903/1.599, allocations: 117.1 kB / 0.9166 GB, free: 67.95 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008867/1.608, allocations: 4.074 MB / 0.9206 GB, free: 63.89 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.8e-07/1.608, allocations: 0 / 0.9206 GB, free: 63.89 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01633/1.624, allocations: 1.914 MB / 0.9224 GB, free: 61.98 MB / 0.5919 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.03019/1.655, allocations: 12.93 MB / 0.9351 GB, free: 48.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02142/1.676, allocations: 9.405 MB / 0.9442 GB, free: 39.38 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.179e-05/1.676, allocations: 3.75 kB / 0.9442 GB, free: 39.38 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006992/1.683, allocations: 3.042 MB / 0.9472 GB, free: 36.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007964/1.691, allocations: 0.7999 MB / 0.948 GB, free: 35.54 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4398/2.131, allocations: 88.13 MB / 1.034 GB, free: 168.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007653/2.138, allocations: 5.124 MB / 1.039 GB, free: 167.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.006833/2.145, allocations: 3.309 MB / 1.042 GB, free: 167.3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00432/2.15, allocations: 3.695 MB / 1.046 GB, free: 164.2 MB / 0.6075 GB Notification: Performance of SimCode: time 1.262e-06/2.15, allocations: 0 / 1.046 GB, free: 164.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1833/2.333, allocations: 130.2 MB / 1.173 GB, free: 43.37 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.32/24.65, allocations: 7.969 kB / 1.173 GB, free: 43.36 MB / 0.6075 GB " [Timeout remaining time 635] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointUSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.880641627125442] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 24.84762984700501 24.861092673 24.315246542 Calling exit ...