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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 221.3 MB / 236 MB, free: 2.914 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 87.8 kB / 287 MB, free: 184 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2451/0.2451, allocations: 44.15 MB / 382 MB, free: 14.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.807e-05/2.809e-05, allocations: 4.219 kB / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1398, allocations: 61.91 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4514/0.5913, allocations: 118.2 MB / 0.6172 GB, free: 2.988 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.5916, allocations: 79.95 kB / 0.6173 GB, free: 2.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6871/1.279, allocations: 156.5 MB / 0.7701 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.743e-06/1.279, allocations: 0 / 0.7701 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003204/1.279, allocations: 136.9 kB / 0.7703 GB, free: 118.7 MB / 0.5105 GB 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.02558/1.305, allocations: 6.536 MB / 0.7766 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/1.305, allocations: 9.781 kB / 0.7767 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005759/1.311, allocations: 1.497 MB / 0.7781 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02836/1.339, allocations: 6.68 MB / 0.7846 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02157/1.361, allocations: 7.947 MB / 0.7924 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007503/1.361, allocations: 0.5321 MB / 0.7929 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004469/1.366, allocations: 0.7037 MB / 0.7936 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04415/1.41, allocations: 18.69 MB / 0.8119 GB, free: 94.65 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004187/1.41, allocations: 83.27 kB / 0.8119 GB, free: 94.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003244/1.414, allocations: 337.3 kB / 0.8123 GB, free: 94.29 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002339/1.416, allocations: 1.726 MB / 0.8139 GB, free: 92.56 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03283/1.449, allocations: 16.22 MB / 0.8298 GB, free: 76.32 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09518/1.544, allocations: 74.15 MB / 0.9022 GB, free: 268 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01657/1.561, allocations: 6.11 MB / 0.9082 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004655/1.565, allocations: 2.719 MB / 0.9108 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3839/1.949, allocations: 13.87 MB / 0.9244 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.353e-05/1.95, allocations: 64.42 kB / 0.9244 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=284): time 8.265e-06/1.95, allocations: 1.031 kB / 0.9244 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=344): time 0.06413/2.014, allocations: 19.15 MB / 0.9431 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.163e-05/2.014, allocations: 193.5 kB / 0.9433 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008508/2.022, allocations: 5.13 MB / 0.9483 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000801/2.023, allocations: 76.48 kB / 0.9484 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003271/2.026, allocations: 5.007 MB / 0.9533 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001452/2.028, allocations: 1.278 MB / 0.9545 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004769/2.028, allocations: 183.5 kB / 0.9547 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004513/2.029, allocations: 0.7194 MB / 0.9554 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004349/2.033, allocations: 3.14 MB / 0.9585 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006699/2.04, allocations: 8.604 MB / 0.9669 GB, free: 108 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006952/2.047, allocations: 5.192 MB / 0.972 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001115/2.047, allocations: 52.59 kB / 0.972 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.02441/2.071, allocations: 12.52 MB / 0.9842 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002339/2.072, allocations: 92.22 kB / 0.9843 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003675/2.072, allocations: 193.9 kB / 0.9845 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004101/2.076, allocations: 1.321 MB / 0.9858 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008113/2.084, allocations: 2.184 MB / 0.9879 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/2.095, allocations: 7.1 MB / 0.9949 GB, free: 97.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008604/2.104, allocations: 0.5584 MB / 0.9954 GB, free: 97.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001965/2.106, allocations: 0.5498 MB / 0.996 GB, free: 97.75 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1155): * Single equations (assignments): 1148 * 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.002996/2.109, allocations: 0.8092 MB / 0.9967 GB, free: 97.08 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001601/2.11, allocations: 0.5248 MB / 0.9973 GB, free: 96.79 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/2.123, allocations: 5.262 MB / 1.002 GB, free: 94.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.643e-05/2.123, allocations: 36.27 kB / 1.002 GB, free: 94.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.549e-05/2.123, allocations: 7.75 kB / 1.002 GB, free: 94.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.369e-05/2.123, allocations: 21.94 kB / 1.002 GB, free: 94.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03655/2.159, allocations: 14.04 MB / 1.016 GB, free: 85.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.496e-05/2.16, allocations: 12 kB / 1.016 GB, free: 85.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002444/2.162, allocations: 0.5401 MB / 1.017 GB, free: 85.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003382/2.165, allocations: 0.9167 MB / 1.018 GB, free: 84.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006298/2.166, allocations: 68.83 kB / 1.018 GB, free: 84.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008393/2.175, allocations: 5.405 MB / 1.023 GB, free: 79.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.194e-05/2.175, allocations: 19.94 kB / 1.023 GB, free: 79.42 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01555/2.19, allocations: 10.14 MB / 1.033 GB, free: 69.64 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002166/2.192, allocations: 0.5618 MB / 1.033 GB, free: 69.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001756/2.194, allocations: 64.89 kB / 1.033 GB, free: 69.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003416/2.198, allocations: 192.8 kB / 1.034 GB, free: 68.89 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006671/2.198, allocations: 220.5 kB / 1.034 GB, free: 68.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003882/2.199, allocations: 104.1 kB / 1.034 GB, free: 68.64 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007877/2.207, allocations: 3.541 MB / 1.037 GB, free: 65.55 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.02e-07/2.207, allocations: 0 / 1.037 GB, free: 65.55 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01128/2.218, allocations: 1.658 MB / 1.039 GB, free: 63.91 MB / 0.5261 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 260 * 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.01657/2.235, allocations: 13.17 MB / 1.052 GB, free: 51.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01311/2.248, allocations: 7.636 MB / 1.059 GB, free: 44.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-05/2.248, allocations: 0 / 1.059 GB, free: 44.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004185/2.252, allocations: 2.353 MB / 1.062 GB, free: 42.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004952/2.257, allocations: 0.6333 MB / 1.062 GB, free: 41.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04303/2.3, allocations: 15.03 MB / 1.077 GB, free: 28.19 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01062/2.311, allocations: 5.324 MB / 1.082 GB, free: 24.25 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009599/2.32, allocations: 3.045 MB / 1.085 GB, free: 22.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007054/2.327, allocations: 3.377 MB / 1.088 GB, free: 19.17 MB / 0.5261 GB Notification: Performance of SimCode: time 2.063e-06/2.327, allocations: 0 / 1.088 GB, free: 19.17 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.613/2.94, allocations: 123.6 MB / 1.209 GB, free: 94.65 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001438/2.941, allocations: 172.7 kB / 1.209 GB, free: 94.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.712/9.652, allocations: 3.938 kB / 1.209 GB, free: 94.43 MB / 0.5417 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