Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_4_0_0_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.001066/0.001066, allocations: 97.69 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 188.3 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 223.2 MB / 241.9 MB, free: 14.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2742/0.2742, allocations: 44.22 MB / 337.2 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003575, allocations: 12 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1328, allocations: 61.91 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.3572/0.4901, allocations: 52.72 MB / 0.5121 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03075/0.5209, allocations: 11.7 MB / 0.5235 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01417/0.5351, allocations: 249.4 kB / 0.5237 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01131/0.5464, allocations: 2.747 MB / 0.5264 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02585/0.5723, allocations: 8.262 MB / 0.5345 GB, free: 5.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004673/0.577, allocations: 1.069 MB / 0.5355 GB, free: 4.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04859/0.6256, allocations: 36.02 MB / 0.5707 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01308/0.6387, allocations: 7.043 MB / 0.5776 GB, free: 7.824 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005387/0.6442, allocations: 2.134 MB / 0.5797 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006565/0.6508, allocations: 3.503 MB / 0.5831 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002282/0.6531, allocations: 260 kB / 0.5833 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004793/0.6579, allocations: 1.291 MB / 0.5846 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005094/0.663, allocations: 2.891 MB / 0.5874 GB, free: 14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003409/0.6665, allocations: 1.384 MB / 0.5888 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01329/0.6798, allocations: 9.611 MB / 0.5981 GB, free: 2.984 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.6798, allocations: 0 / 0.5981 GB, free: 2.984 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.6798, allocations: 0 / 0.5981 GB, free: 2.984 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005145/0.6803, allocations: 0 / 0.5981 GB, free: 2.984 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: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.01638/0.6967, allocations: 6.623 MB / 0.6046 GB, free: 12.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.6968, allocations: 12.03 kB / 0.6046 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003574/0.7004, allocations: 1.299 MB / 0.6059 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02726/0.7277, allocations: 5.813 MB / 0.6116 GB, free: 5.137 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.012/0.7397, allocations: 5.073 MB / 0.6165 GB, free: 8 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006466/0.7404, allocations: 406 kB / 0.6169 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003891/0.7443, allocations: 0.5464 MB / 0.6174 GB, free: 15.06 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04252/0.7869, allocations: 18.84 MB / 0.6358 GB, free: 11.17 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002227/0.7871, allocations: 75.3 kB / 0.6359 GB, free: 11.1 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009411/0.7881, allocations: 247.8 kB / 0.6362 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005234/0.7933, allocations: 3.424 MB / 0.6395 GB, free: 7.426 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03739/0.8308, allocations: 16.48 MB / 0.6556 GB, free: 6.926 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.6568/1.488, allocations: 66.72 MB / 0.7207 GB, free: 145.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01716/1.505, allocations: 6.261 MB / 0.7269 GB, free: 144.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004892/1.51, allocations: 2.818 MB / 0.7296 GB, free: 144.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02478/1.535, allocations: 13.81 MB / 0.7431 GB, free: 138.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.717e-05/1.535, allocations: 67.66 kB / 0.7432 GB, free: 138 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 5.961e-06/1.535, allocations: 0 / 0.7432 GB, free: 138 MB / 0.5294 GB Notification: Performance of matching and sorting (n=345): time 0.07457/1.609, allocations: 25.25 MB / 0.7678 GB, free: 125 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.322e-05/1.609, allocations: 188.2 kB / 0.768 GB, free: 124.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007323/1.617, allocations: 5.873 MB / 0.7737 GB, free: 119 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005975/1.617, allocations: 73.7 kB / 0.7738 GB, free: 118.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002611/1.62, allocations: 4.982 MB / 0.7787 GB, free: 113.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001391/1.621, allocations: 1.282 MB / 0.7799 GB, free: 112.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003644/1.622, allocations: 188 kB / 0.7801 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000379/1.622, allocations: 0.7093 MB / 0.7808 GB, free: 111.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004189/1.626, allocations: 3.258 MB / 0.784 GB, free: 108.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00656/1.633, allocations: 8.726 MB / 0.7925 GB, free: 97.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006648/1.64, allocations: 5.229 MB / 0.7976 GB, free: 92.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.023e-05/1.64, allocations: 59.94 kB / 0.7977 GB, free: 92.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02339/1.663, allocations: 12.74 MB / 0.8101 GB, free: 79.38 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001381/1.663, allocations: 89.88 kB / 0.8102 GB, free: 79.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002362/1.664, allocations: 192 kB / 0.8104 GB, free: 79.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003725/1.667, allocations: 1.341 MB / 0.8117 GB, free: 77.76 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007074/1.674, allocations: 2.164 MB / 0.8138 GB, free: 75.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/1.685, allocations: 7.283 MB / 0.8209 GB, free: 68.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007298/1.692, allocations: 0.5033 MB / 0.8214 GB, free: 67.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001696/1.694, allocations: 0.5448 MB / 0.8219 GB, free: 67.14 MB / 0.5294 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 (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.0103/1.704, allocations: 3.45 MB / 0.8253 GB, free: 63.67 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001943/1.706, allocations: 0.5267 MB / 0.8258 GB, free: 63.14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01339/1.72, allocations: 5.394 MB / 0.8311 GB, free: 57.69 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-05/1.72, allocations: 37.33 kB / 0.8311 GB, free: 57.65 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.04e-05/1.72, allocations: 8 kB / 0.8311 GB, free: 57.64 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.792e-05/1.72, allocations: 19.94 kB / 0.8311 GB, free: 57.62 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03074/1.751, allocations: 14 MB / 0.8448 GB, free: 43.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-05/1.751, allocations: 8 kB / 0.8448 GB, free: 43.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002157/1.753, allocations: 0.4953 MB / 0.8453 GB, free: 42.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002994/1.756, allocations: 0.8011 MB / 0.8461 GB, free: 42.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004315/1.756, allocations: 69.16 kB / 0.8462 GB, free: 42.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007951/1.764, allocations: 5.33 MB / 0.8514 GB, free: 36.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.758e-06/1.764, allocations: 19.88 kB / 0.8514 GB, free: 36.55 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/1.779, allocations: 8.259 MB / 0.8594 GB, free: 28 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001913/1.781, allocations: 0.5682 MB / 0.86 GB, free: 27.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001588/1.782, allocations: 68.88 kB / 0.8601 GB, free: 27.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002814/1.785, allocations: 136.9 kB / 0.8602 GB, free: 27.21 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005298/1.786, allocations: 218.4 kB / 0.8604 GB, free: 27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002862/1.786, allocations: 106.6 kB / 0.8605 GB, free: 26.89 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006921/1.793, allocations: 3.636 MB / 0.8641 GB, free: 23.29 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.5e-07/1.793, allocations: 0 / 0.8641 GB, free: 23.29 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01025/1.803, allocations: 1.629 MB / 0.8656 GB, free: 21.67 MB / 0.5294 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.01561/1.819, allocations: 9.012 MB / 0.8744 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01363/1.832, allocations: 7.746 MB / 0.882 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.571e-05/1.832, allocations: 0 / 0.882 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004233/1.837, allocations: 2.378 MB / 0.8843 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006313/1.843, allocations: 0.6864 MB / 0.885 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3881/2.231, allocations: 57.88 MB / 0.9415 GB, free: 215.8 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008034/2.239, allocations: 5.172 MB / 0.9466 GB, free: 214.3 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007825/2.247, allocations: 2.96 MB / 0.9495 GB, free: 214.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005544/2.253, allocations: 3.336 MB / 0.9527 GB, free: 211.5 MB / 0.5763 GB Notification: Performance of SimCode: time 1.403e-06/2.253, allocations: 0 / 0.9527 GB, free: 211.5 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1787/2.431, allocations: 124 MB / 1.074 GB, free: 97.68 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001893/2.432, allocations: 217 kB / 1.074 GB, free: 97.43 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.456/7.888, allocations: 4 kB / 1.074 GB, free: 97.43 MB / 0.5763 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_JointSSR.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat does not exist to compare? outputFormat=mat