Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 177.1 kB / 16.56 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.944/1.944, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4526/0.4526, allocations: 43.54 MB / 314.5 MB, free: 9.09 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005601/0.0005602, allocations: 12 kB / 384 MB, free: 8.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1725, allocations: 58.85 MB / 442.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.3725/0.5451, allocations: 49.87 MB / 492.7 MB, free: 19.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0358/0.581, allocations: 12.15 MB / 0.493 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01459/0.5956, allocations: 248 kB / 0.4933 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01125/0.6069, allocations: 2.486 MB / 0.4957 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03316/0.6401, allocations: 7.177 MB / 0.5027 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006052/0.6462, allocations: 1.045 MB / 0.5037 GB, free: 6.516 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03114/0.6774, allocations: 16.69 MB / 0.52 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01385/0.6913, allocations: 6.993 MB / 0.5269 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006696/0.698, allocations: 1.787 MB / 0.5286 GB, free: 8.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007551/0.7056, allocations: 2.512 MB / 0.5311 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003024/0.7087, allocations: 264 kB / 0.5313 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005033/0.7138, allocations: 1.245 MB / 0.5325 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004921/0.7187, allocations: 2.704 MB / 0.5352 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003314/0.7221, allocations: 1.388 MB / 0.5365 GB, free: 32 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01464/0.7367, allocations: 9.625 MB / 0.5459 GB, free: 6.383 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.7368, allocations: 0 / 0.5459 GB, free: 6.383 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.858e-06/0.7368, allocations: 4 kB / 0.5459 GB, free: 6.379 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005322/0.7374, allocations: 4 kB / 0.5459 GB, free: 6.375 MB / 414.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.02034/0.7577, allocations: 6.71 MB / 0.5525 GB, free: 15.58 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.595e-05/0.7578, allocations: 8.031 kB / 0.5525 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005579/0.7634, allocations: 1.307 MB / 0.5538 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03576/0.7992, allocations: 7.169 MB / 0.5608 GB, free: 7.066 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01456/0.8138, allocations: 4.91 MB / 0.5656 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006239/0.8145, allocations: 406 kB / 0.5659 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003585/0.8181, allocations: 0.5541 MB / 0.5665 GB, free: 1.145 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05101/0.8691, allocations: 19.06 MB / 0.5851 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003933/0.8696, allocations: 75.3 kB / 0.5852 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002082/0.8717, allocations: 247.8 kB / 0.5854 GB, free: 12.72 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005906/0.8776, allocations: 3.428 MB / 0.5888 GB, free: 9.281 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.042/0.9197, allocations: 16.74 MB / 0.6051 GB, free: 8.523 MB / 478.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.4718/1.392, allocations: 67.02 MB / 0.6706 GB, free: 89.47 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01594/1.408, allocations: 6.293 MB / 0.6767 GB, free: 88.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03045/1.438, allocations: 14 MB / 0.6904 GB, free: 81.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.112e-05/1.438, allocations: 59.03 kB / 0.6904 GB, free: 81.01 MB / 494.1 MB Notification: Performance of pre-optimization done (n=284): time 8.967e-06/1.438, allocations: 2 kB / 0.6904 GB, free: 81.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=345): time 0.09169/1.53, allocations: 26.05 MB / 0.7159 GB, free: 72.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/1.53, allocations: 192 kB / 0.716 GB, free: 72.01 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01041/1.54, allocations: 6.259 MB / 0.7222 GB, free: 69.83 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009057/1.541, allocations: 74.28 kB / 0.7222 GB, free: 69.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003788/1.545, allocations: 4.989 MB / 0.7271 GB, free: 65.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002103/1.547, allocations: 1.279 MB / 0.7284 GB, free: 65 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00053/1.548, allocations: 190.1 kB / 0.7285 GB, free: 64.85 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0005895/1.548, allocations: 0.7002 MB / 0.7292 GB, free: 64.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005267/1.554, allocations: 3.262 MB / 0.7324 GB, free: 62.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008386/1.562, allocations: 8.684 MB / 0.7409 GB, free: 53.53 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008523/1.571, allocations: 5.235 MB / 0.746 GB, free: 48.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001692/1.571, allocations: 55.98 kB / 0.746 GB, free: 48.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02917/1.6, allocations: 12.74 MB / 0.7585 GB, free: 35.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003639/1.6, allocations: 87.98 kB / 0.7586 GB, free: 35.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000452/1.601, allocations: 196.2 kB / 0.7588 GB, free: 35.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004407/1.605, allocations: 1.346 MB / 0.7601 GB, free: 34.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008155/1.614, allocations: 2.16 MB / 0.7622 GB, free: 31.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/1.625, allocations: 7.532 MB / 0.7695 GB, free: 24.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008812/1.634, allocations: 0.5033 MB / 0.77 GB, free: 23.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002431/1.636, allocations: 0.543 MB / 0.7706 GB, free: 23.28 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008525/1.645, allocations: 3.452 MB / 0.7739 GB, free: 19.81 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001218/1.646, allocations: 0.5283 MB / 0.7744 GB, free: 19.28 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/1.656, allocations: 5.402 MB / 0.7797 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.383e-05/1.656, allocations: 39.28 kB / 0.7798 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/1.656, allocations: 8 kB / 0.7798 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-05/1.656, allocations: 15.94 kB / 0.7798 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03088/1.687, allocations: 14.04 MB / 0.7935 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-05/1.687, allocations: 12 kB / 0.7935 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002391/1.689, allocations: 0.4953 MB / 0.794 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003445/1.693, allocations: 0.8134 MB / 0.7948 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005866/1.694, allocations: 71.98 kB / 0.7948 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009356/1.703, allocations: 5.56 MB / 0.8003 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.692e-05/1.703, allocations: 19.89 kB / 0.8003 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0168/1.72, allocations: 10.01 MB / 0.8101 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003633/1.723, allocations: 0.9508 MB / 0.811 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001933/1.725, allocations: 66.33 kB / 0.8111 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003598/1.729, allocations: 131.9 kB / 0.8112 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005748/1.73, allocations: 229.5 kB / 0.8114 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002816/1.73, allocations: 106.5 kB / 0.8115 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00961/1.74, allocations: 3.934 MB / 0.8154 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.032e-06/1.74, allocations: 0 / 0.8154 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01215/1.752, allocations: 1.653 MB / 0.817 GB, free: 6.754 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3844/2.136, allocations: 13.05 MB / 0.8297 GB, free: 147.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01488/2.151, allocations: 7.735 MB / 0.8373 GB, free: 146.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.468e-05/2.151, allocations: 0 / 0.8373 GB, free: 146.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003863/2.155, allocations: 2.375 MB / 0.8396 GB, free: 145.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004107/2.159, allocations: 0.6442 MB / 0.8402 GB, free: 145.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09991/2.259, allocations: 166.4 MB / 1.003 GB, free: 16.36 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02539/2.285, allocations: 5.321 MB / 1.008 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.01557/2.3, allocations: 2.974 MB / 1.011 GB, free: 14.33 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01061/2.311, allocations: 3.352 MB / 1.014 GB, free: 11.56 MB / 0.545 GB Notification: Performance of SimCode: time 1.562e-06/2.311, allocations: 4 kB / 1.014 GB, free: 11.55 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5389/2.85, allocations: 124.1 MB / 1.135 GB, free: 120.6 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/2.85, allocations: 200.3 kB / 1.135 GB, free: 120.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.427/8.277, allocations: 6.188 kB / 1.135 GB, free: 120.3 MB / 0.545 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointSSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat does not exist to compare? outputFormat=mat