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.0007891/0.0007891, allocations: 88.19 kB / 15.7 MB, free: 460 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.001788/0.001788, allocations: 173.6 kB / 16.58 MB, free: 6.84 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.563/1.563, allocations: 205.4 MB / 222.7 MB, free: 5.648 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.3932/0.3932, allocations: 43.55 MB / 314.6 MB, free: 9.031 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.0004992/0.0004993, allocations: 14.97 kB / 384 MB, free: 8.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1393, allocations: 58.85 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.3105/0.4499, allocations: 52.82 MB / 495.7 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0295/0.4794, allocations: 11.66 MB / 0.4955 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01144/0.4909, allocations: 248.8 kB / 0.4957 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007999/0.4989, allocations: 2.748 MB / 0.4984 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0255/0.5244, allocations: 8.272 MB / 0.5065 GB, free: 4.941 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005203/0.5297, allocations: 1.071 MB / 0.5075 GB, free: 4.543 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03407/0.5637, allocations: 23.42 MB / 0.5304 GB, free: 6.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01406/0.5779, allocations: 7.048 MB / 0.5373 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005844/0.5837, allocations: 2.152 MB / 0.5394 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006361/0.5901, allocations: 3.501 MB / 0.5428 GB, free: 9.945 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001953/0.5921, allocations: 268 kB / 0.543 GB, free: 9.684 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004668/0.5968, allocations: 1.283 MB / 0.5443 GB, free: 8.398 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005002/0.6019, allocations: 2.902 MB / 0.5471 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003093/0.605, allocations: 1.384 MB / 0.5485 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01242/0.6174, allocations: 9.64 MB / 0.5579 GB, free: 10.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.6174, allocations: 4 kB / 0.5579 GB, free: 10.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.6175, allocations: 0 / 0.5579 GB, free: 10.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004385/0.6179, allocations: 4 kB / 0.5579 GB, free: 10.42 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.01561/0.6335, allocations: 6.66 MB / 0.5644 GB, free: 3.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.6336, allocations: 8.031 kB / 0.5644 GB, free: 3.672 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004117/0.6377, allocations: 1.303 MB / 0.5657 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02611/0.6639, allocations: 5.819 MB / 0.5714 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01217/0.676, allocations: 5.519 MB / 0.5767 GB, free: 6.941 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004559/0.6766, allocations: 402 kB / 0.5771 GB, free: 6.547 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002451/0.679, allocations: 0.5541 MB / 0.5777 GB, free: 5.992 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03664/0.7157, allocations: 18.83 MB / 0.5961 GB, free: 2.113 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002043/0.7159, allocations: 67.36 kB / 0.5961 GB, free: 2.047 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008028/0.7167, allocations: 255.7 kB / 0.5964 GB, free: 1.797 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004763/0.7215, allocations: 3.432 MB / 0.5997 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03363/0.7552, allocations: 16.48 MB / 0.6158 GB, free: 13.86 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.3616/1.117, allocations: 66.76 MB / 0.681 GB, free: 91.72 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01518/1.132, allocations: 6.27 MB / 0.6871 GB, free: 89.16 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004227/1.136, allocations: 2.807 MB / 0.6899 GB, free: 88.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02332/1.16, allocations: 13.82 MB / 0.7034 GB, free: 80.61 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.14e-05/1.16, allocations: 62.94 kB / 0.7034 GB, free: 80.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=284): time 7.464e-06/1.16, allocations: 0 / 0.7034 GB, free: 80.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=345): time 0.07346/1.233, allocations: 25.43 MB / 0.7283 GB, free: 70.64 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.686e-05/1.233, allocations: 188.4 kB / 0.7285 GB, free: 70.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009271/1.243, allocations: 5.913 MB / 0.7342 GB, free: 64.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006673/1.243, allocations: 76.28 kB / 0.7343 GB, free: 64.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002693/1.246, allocations: 4.986 MB / 0.7392 GB, free: 59.53 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001472/1.248, allocations: 1.276 MB / 0.7404 GB, free: 58.26 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004121/1.248, allocations: 194.6 kB / 0.7406 GB, free: 58.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003489/1.248, allocations: 0.707 MB / 0.7413 GB, free: 57.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004214/1.253, allocations: 3.255 MB / 0.7445 GB, free: 54.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00643/1.259, allocations: 8.728 MB / 0.753 GB, free: 42.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006744/1.266, allocations: 5.239 MB / 0.7581 GB, free: 37.42 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.807e-05/1.266, allocations: 52 kB / 0.7582 GB, free: 37.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02406/1.29, allocations: 12.74 MB / 0.7706 GB, free: 24.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/1.29, allocations: 87.95 kB / 0.7707 GB, free: 24.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001742/1.29, allocations: 192 kB / 0.7709 GB, free: 24.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003615/1.294, allocations: 1.345 MB / 0.7722 GB, free: 22.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006636/1.301, allocations: 2.164 MB / 0.7743 GB, free: 20.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009567/1.31, allocations: 7.287 MB / 0.7814 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007504/1.318, allocations: 0.5072 MB / 0.7819 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001618/1.319, allocations: 0.5459 MB / 0.7824 GB, free: 12.34 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.005751/1.325, allocations: 3.451 MB / 0.7858 GB, free: 8.871 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/1.326, allocations: 0.532 MB / 0.7863 GB, free: 8.336 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009729/1.336, allocations: 5.393 MB / 0.7916 GB, free: 2.883 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.272e-05/1.336, allocations: 39.56 kB / 0.7916 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-05/1.336, allocations: 12 kB / 0.7916 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.344e-05/1.336, allocations: 19.88 kB / 0.7917 GB, free: 2.816 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02837/1.365, allocations: 14 MB / 0.8053 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.802e-05/1.365, allocations: 12 kB / 0.8053 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002142/1.367, allocations: 0.4915 MB / 0.8058 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003011/1.37, allocations: 0.8051 MB / 0.8066 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005439/1.37, allocations: 78.41 kB / 0.8067 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008922/1.379, allocations: 5.34 MB / 0.8119 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.717e-05/1.379, allocations: 15.94 kB / 0.8119 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01424/1.394, allocations: 8.263 MB / 0.82 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002674/1.396, allocations: 0.9352 MB / 0.8209 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008594/1.397, allocations: 63.98 kB / 0.821 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001883/1.399, allocations: 134.6 kB / 0.8211 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003998/1.399, allocations: 217.5 kB / 0.8213 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001962/1.4, allocations: 111.9 kB / 0.8214 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006251/1.406, allocations: 3.665 MB / 0.825 GB, free: 60 kB / 0.5137 GB Notification: Performance of sort global known variables: time 5.51e-07/1.406, allocations: 4 kB / 0.825 GB, free: 56 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.2537/1.66, allocations: 1.632 MB / 0.8266 GB, free: 151.8 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.01309/1.673, allocations: 8.998 MB / 0.8354 GB, free: 150.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01205/1.685, allocations: 7.735 MB / 0.8429 GB, free: 148.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/1.685, allocations: 6.312 kB / 0.8429 GB, free: 148.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003475/1.688, allocations: 2.365 MB / 0.8452 GB, free: 147.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003654/1.692, allocations: 0.6853 MB / 0.8459 GB, free: 147.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09742/1.79, allocations: 58.18 MB / 0.9027 GB, free: 108.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009234/1.799, allocations: 5.177 MB / 0.9078 GB, free: 104.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007512/1.806, allocations: 2.973 MB / 0.9107 GB, free: 102.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005042/1.811, allocations: 3.335 MB / 0.9139 GB, free: 99.63 MB / 0.5137 GB Notification: Performance of SimCode: time 1.633e-06/1.811, allocations: 6.625 kB / 0.9139 GB, free: 99.62 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3805/2.192, allocations: 124.4 MB / 1.035 GB, free: 141.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001295/2.192, allocations: 206.7 kB / 1.036 GB, free: 141.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.242/7.435, allocations: 0 / 1.036 GB, free: 141.5 MB / 0.5294 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