Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002227/0.002226, allocations: 188.1 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001262/0.001262, allocations: 98.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2975/0.2975, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004834/0.0004835, allocations: 8 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1225, allocations: 58.86 MB / 490.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.4678/0.5904, allocations: 49.85 MB / 0.5275 GB, free: 9.848 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03513/0.6256, allocations: 12.16 MB / 0.5394 GB, free: 8.926 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.013/0.6386, allocations: 248.8 kB / 0.5396 GB, free: 8.887 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01006/0.6487, allocations: 2.482 MB / 0.5421 GB, free: 8.418 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03033/0.6791, allocations: 7.179 MB / 0.5491 GB, free: 6.586 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005886/0.685, allocations: 1.043 MB / 0.5501 GB, free: 6.289 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.04112/0.7262, allocations: 16.59 MB / 0.5663 GB, free: 14.58 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01591/0.7422, allocations: 6.991 MB / 0.5731 GB, free: 7.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00524/0.7475, allocations: 1.791 MB / 0.5749 GB, free: 5.723 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006232/0.7538, allocations: 2.512 MB / 0.5773 GB, free: 3.203 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002043/0.7559, allocations: 264 kB / 0.5776 GB, free: 2.945 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005229/0.7611, allocations: 1.248 MB / 0.5788 GB, free: 1.695 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005438/0.7666, allocations: 2.7 MB / 0.5814 GB, free: 14.99 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003344/0.77, allocations: 1.384 MB / 0.5828 GB, free: 13.59 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01744/0.7875, allocations: 9.625 MB / 0.5922 GB, free: 3.945 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7876, allocations: 4 kB / 0.5922 GB, free: 3.941 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.416e-06/0.7876, allocations: 0 / 0.5922 GB, free: 3.941 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004059/0.788, allocations: 4 kB / 0.5922 GB, free: 3.938 MB / 394.7 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.02375/0.8118, allocations: 6.713 MB / 0.5987 GB, free: 13.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/0.8118, allocations: 8.031 kB / 0.5987 GB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005032/0.8169, allocations: 1.299 MB / 0.6 GB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06541/0.8824, allocations: 7.171 MB / 0.607 GB, free: 4.629 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0162/0.8986, allocations: 4.911 MB / 0.6118 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000589/0.8993, allocations: 402 kB / 0.6122 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003235/0.9025, allocations: 0.5619 MB / 0.6127 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06285/0.9654, allocations: 19.06 MB / 0.6314 GB, free: 10.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003758/0.9658, allocations: 63.38 kB / 0.6314 GB, free: 10.53 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002411/0.9683, allocations: 251.7 kB / 0.6317 GB, free: 10.28 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009838/0.9781, allocations: 3.428 MB / 0.635 GB, free: 6.844 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06028/1.038, allocations: 16.75 MB / 0.6514 GB, free: 6.086 MB / 458.7 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.1453/1.184, allocations: 67.03 MB / 0.7168 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6974/1.881, allocations: 6.292 MB / 0.723 GB, free: 178 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04201/1.923, allocations: 14 MB / 0.7366 GB, free: 171 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.982e-05/1.923, allocations: 65.11 kB / 0.7367 GB, free: 170.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=284): time 8.026e-06/1.923, allocations: 0.9688 kB / 0.7367 GB, free: 170.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=345): time 0.1766/2.1, allocations: 26.03 MB / 0.7621 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/2.1, allocations: 188.2 kB / 0.7623 GB, free: 159.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01742/2.118, allocations: 6.256 MB / 0.7684 GB, free: 153.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008963/2.119, allocations: 71.34 kB / 0.7685 GB, free: 153.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0054/2.124, allocations: 4.846 MB / 0.7732 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002523/2.127, allocations: 1.28 MB / 0.7745 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00136/2.128, allocations: 188.9 kB / 0.7746 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000884/2.129, allocations: 0.7117 MB / 0.7753 GB, free: 146.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01204/2.141, allocations: 3.255 MB / 0.7785 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01636/2.158, allocations: 8.688 MB / 0.787 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01626/2.174, allocations: 5.234 MB / 0.7921 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002396/2.174, allocations: 59.95 kB / 0.7922 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.05177/2.226, allocations: 12.56 MB / 0.8044 GB, free: 114 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002096/2.226, allocations: 89.56 kB / 0.8045 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003754/2.227, allocations: 192 kB / 0.8047 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01011/2.237, allocations: 1.357 MB / 0.806 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01662/2.253, allocations: 2.16 MB / 0.8081 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02606/2.28, allocations: 7.521 MB / 0.8155 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01445/2.294, allocations: 0.5033 MB / 0.816 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002398/2.296, allocations: 0.5462 MB / 0.8165 GB, free: 101.5 MB / 0.5105 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.01184/2.308, allocations: 3.448 MB / 0.8199 GB, free: 98.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001824/2.31, allocations: 0.5331 MB / 0.8204 GB, free: 97.53 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02602/2.336, allocations: 5.401 MB / 0.8257 GB, free: 92.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001098/2.336, allocations: 36 kB / 0.8257 GB, free: 92.04 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.864e-05/2.336, allocations: 11.94 kB / 0.8257 GB, free: 92.03 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.778e-05/2.337, allocations: 11.95 kB / 0.8257 GB, free: 92.02 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05159/2.388, allocations: 14.03 MB / 0.8394 GB, free: 77.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.848e-05/2.388, allocations: 16.67 kB / 0.8394 GB, free: 77.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004367/2.393, allocations: 0.4922 MB / 0.8399 GB, free: 77.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006163/2.399, allocations: 0.8107 MB / 0.8407 GB, free: 76.44 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006233/2.399, allocations: 68.61 kB / 0.8408 GB, free: 76.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01444/2.414, allocations: 5.563 MB / 0.8462 GB, free: 70.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.505e-05/2.414, allocations: 19.94 kB / 0.8462 GB, free: 70.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02267/2.437, allocations: 10.02 MB / 0.856 GB, free: 60.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003249/2.44, allocations: 0.9508 MB / 0.8569 GB, free: 59.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001109/2.441, allocations: 65.36 kB / 0.857 GB, free: 59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003683/2.445, allocations: 135.9 kB / 0.8571 GB, free: 58.87 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007251/2.446, allocations: 222.1 kB / 0.8574 GB, free: 58.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003043/2.446, allocations: 105.3 kB / 0.8575 GB, free: 58.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008292/2.454, allocations: 3.938 MB / 0.8613 GB, free: 54.65 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.41e-07/2.454, allocations: 4 kB / 0.8613 GB, free: 54.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01102/2.465, allocations: 1.653 MB / 0.8629 GB, free: 53 MB / 0.5105 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.02653/2.492, allocations: 13.05 MB / 0.8757 GB, free: 39.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01899/2.511, allocations: 7.74 MB / 0.8832 GB, free: 31.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.535e-05/2.511, allocations: 4 kB / 0.8832 GB, free: 31.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006519/2.518, allocations: 2.373 MB / 0.8855 GB, free: 29.37 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005561/2.523, allocations: 0.6409 MB / 0.8862 GB, free: 28.73 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4388/2.962, allocations: 167.2 MB / 1.049 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01391/2.976, allocations: 5.329 MB / 1.055 GB, free: 30.32 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007684/2.984, allocations: 3.42 MB / 1.058 GB, free: 27.75 MB / 0.5262 GB Notification: Performance of SimCode: time 1.553e-06/2.984, allocations: 0 / 1.058 GB, free: 27.75 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.736/8.72, allocations: 163.8 MB / 1.218 GB, free: 77.86 MB / 0.5262 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_FourbarVariants_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_FourbarVariants_JointSSR.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat does not exist to compare? outputFormat=mat