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.001345/0.001345, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001365/0.001365, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.474/1.474, allocations: 230.2 MB / 254.5 MB, free: 15.23 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.2539/0.2539, allocations: 46.88 MB / 357.4 MB, free: 10.48 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.002293/0.002293, allocations: 75.88 kB / 0.4912 GB, free: 8.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.126, allocations: 65.99 MB / 0.5557 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01958/0.1456, allocations: 16.3 MB / 0.5716 GB, free: 5.836 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01393/0.1595, allocations: 5.361 MB / 0.5768 GB, free: 464 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003478/0.163, allocations: 99.75 kB / 0.5769 GB, free: 364 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008408/0.1714, allocations: 4.228 MB / 0.581 GB, free: 12.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007815/0.1792, allocations: 2.782 MB / 0.5838 GB, free: 9.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003289/0.1825, allocations: 1.263 MB / 0.585 GB, free: 8.055 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01222/0.1947, allocations: 7.735 MB / 0.5925 GB, free: 312 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.281/0.4757, allocations: 4.958 MB / 0.5974 GB, free: 6.426 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00526/0.4809, allocations: 2.683 MB / 0.6 GB, free: 6.266 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006955/0.4879, allocations: 4.086 MB / 0.604 GB, free: 5.887 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002553/0.4905, allocations: 0.5932 MB / 0.6046 GB, free: 5.887 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004654/0.4951, allocations: 1.803 MB / 0.6063 GB, free: 5.883 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004708/0.4998, allocations: 3.377 MB / 0.6096 GB, free: 5.484 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007248/0.5071, allocations: 3.81 MB / 0.6134 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01795/0.525, allocations: 12.42 MB / 0.6255 GB, free: 14.14 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.525, allocations: 0 / 0.6255 GB, free: 14.14 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.525, allocations: 0 / 0.6255 GB, free: 14.14 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005969/0.5256, allocations: 1.375 kB / 0.6255 GB, free: 14.14 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.02809/0.5537, allocations: 8.165 MB / 0.6335 GB, free: 8.695 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.5538, allocations: 8.188 kB / 0.6335 GB, free: 8.695 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003868/0.5576, allocations: 1.305 MB / 0.6347 GB, free: 7.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02795/0.5856, allocations: 5.75 MB / 0.6404 GB, free: 5.004 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01337/0.5989, allocations: 4.898 MB / 0.6451 GB, free: 1.082 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004439/0.5994, allocations: 401.2 kB / 0.6455 GB, free: 0.75 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002559/0.6019, allocations: 0.555 MB / 0.6461 GB, free: 268 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04093/0.6429, allocations: 18.83 MB / 0.6645 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002323/0.6431, allocations: 72.67 kB / 0.6645 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001068/0.6442, allocations: 249.8 kB / 0.6648 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006563/0.6507, allocations: 3.422 MB / 0.6681 GB, free: 9.102 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03871/0.6894, allocations: 16.51 MB / 0.6842 GB, free: 8.859 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.109/0.7985, allocations: 66.62 MB / 0.7493 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01683/0.8153, allocations: 6.059 MB / 0.7552 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004675/0.82, allocations: 2.651 MB / 0.7578 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02919/0.8492, allocations: 13.93 MB / 0.7714 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.895e-05/0.8492, allocations: 63.69 kB / 0.7715 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=284): time 6.372e-06/0.8492, allocations: 7.938 kB / 0.7715 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=345): time 0.08445/0.9337, allocations: 25.24 MB / 0.7961 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/0.9338, allocations: 190.7 kB / 0.7963 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009834/0.9437, allocations: 5.912 MB / 0.8021 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0006577/0.9443, allocations: 75.5 kB / 0.8021 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.004342/0.9487, allocations: 5.179 MB / 0.8072 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001856/0.9505, allocations: 1.347 MB / 0.8085 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00287/0.9534, allocations: 1.874 MB / 0.8104 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.9535, allocations: 301.1 kB / 0.8106 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005466/0.959, allocations: 3.303 MB / 0.8139 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01044/0.9694, allocations: 8.766 MB / 0.8224 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01806/0.9875, allocations: 13.05 MB / 0.8352 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002035/0.9877, allocations: 56 kB / 0.8352 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.3018/1.29, allocations: 12.83 MB / 0.8478 GB, free: 217.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001542/1.29, allocations: 87.19 kB / 0.8478 GB, free: 217.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000361/1.29, allocations: 191.9 kB / 0.848 GB, free: 217.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004603/1.295, allocations: 1.321 MB / 0.8493 GB, free: 217.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007743/1.302, allocations: 2.162 MB / 0.8514 GB, free: 217.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01274/1.315, allocations: 7.839 MB / 0.8591 GB, free: 215.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00817/1.323, allocations: 0.502 MB / 0.8596 GB, free: 215 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00203/1.325, allocations: 0.5454 MB / 0.8601 GB, free: 214.9 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.008342/1.334, allocations: 3.445 MB / 0.8635 GB, free: 213.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001049/1.335, allocations: 0.5627 MB / 0.864 GB, free: 213.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01053/1.345, allocations: 5.397 MB / 0.8693 GB, free: 211.7 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.954e-05/1.345, allocations: 39.22 kB / 0.8693 GB, free: 211.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/1.345, allocations: 7.906 kB / 0.8693 GB, free: 211.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.481e-05/1.345, allocations: 17.28 kB / 0.8693 GB, free: 211.7 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02693/1.372, allocations: 13.92 MB / 0.8829 GB, free: 206.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.522e-05/1.372, allocations: 11.53 kB / 0.8829 GB, free: 206.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002029/1.374, allocations: 0.4926 MB / 0.8834 GB, free: 206.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003126/1.377, allocations: 0.8125 MB / 0.8842 GB, free: 206.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004221/1.378, allocations: 72 kB / 0.8843 GB, free: 206.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008354/1.386, allocations: 5.811 MB / 0.89 GB, free: 202.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.1e-05/1.386, allocations: 14.59 kB / 0.89 GB, free: 202.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01373/1.4, allocations: 8.318 MB / 0.8981 GB, free: 197.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002111/1.402, allocations: 0.59 MB / 0.8987 GB, free: 196.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008503/1.403, allocations: 65.08 kB / 0.8987 GB, free: 196.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001967/1.405, allocations: 134.6 kB / 0.8989 GB, free: 196.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004271/1.405, allocations: 218.9 kB / 0.8991 GB, free: 196.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/1.406, allocations: 105.1 kB / 0.8992 GB, free: 196.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.005722/1.411, allocations: 3.667 MB / 0.9028 GB, free: 193.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/1.411, allocations: 0.9844 kB / 0.9028 GB, free: 193.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00886/1.42, allocations: 1.599 MB / 0.9043 GB, free: 191.7 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.01299/1.433, allocations: 9.07 MB / 0.9132 GB, free: 183.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01229/1.445, allocations: 7.497 MB / 0.9205 GB, free: 176.1 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.646e-05/1.445, allocations: 4.375 kB / 0.9205 GB, free: 176.1 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003393/1.449, allocations: 2.211 MB / 0.9227 GB, free: 173.9 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004081/1.453, allocations: 0.7192 MB / 0.9234 GB, free: 173.2 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1048/1.558, allocations: 73.68 MB / 0.9953 GB, free: 90.56 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007499/1.565, allocations: 5.153 MB / 1 GB, free: 85.36 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006461/1.572, allocations: 2.97 MB / 1.003 GB, free: 82.38 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004521/1.576, allocations: 3.327 MB / 1.006 GB, free: 79.05 MB / 0.6544 GB Notification: Performance of SimCode: time 1.252e-06/1.576, allocations: 0 / 1.006 GB, free: 79.05 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4783/2.055, allocations: 111.2 MB / 1.115 GB, free: 235.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.44/26.49, allocations: 3.062 kB / 1.115 GB, free: 235.5 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointSSR_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.59923699265346] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 26.653222429100424 26.675771234 26.145836607 Calling exit ...