Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009739/0.0009739, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007701/0.0007701, allocations: 93.55 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.189/0.189, allocations: 45.15 MB / 383.8 MB, free: 284 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.776e-05/1.778e-05, allocations: 4 kB / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1056, allocations: 63.26 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4255/0.5311, allocations: 118.4 MB / 0.6201 GB, free: 156 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.5313, allocations: 77.84 kB / 0.6202 GB, free: 120 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7002/1.232, allocations: 157.2 MB / 0.7737 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.492e-06/1.232, allocations: 0 / 0.7737 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004624/1.232, allocations: 139.7 kB / 0.7738 GB, free: 114.9 MB / 0.5261 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.02757/1.26, allocations: 6.56 MB / 0.7802 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/1.26, allocations: 11.56 kB / 0.7802 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02814/1.288, allocations: 6.679 MB / 0.7867 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01936/1.307, allocations: 7.163 MB / 0.7937 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004852/1.308, allocations: 228.7 kB / 0.7939 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004065/1.312, allocations: 435.9 kB / 0.7944 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02067/1.333, allocations: 11.66 MB / 0.8057 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03703/1.37, allocations: 15.89 MB / 0.8213 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005355/1.37, allocations: 82.09 kB / 0.8213 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00337/1.374, allocations: 53.58 kB / 0.8214 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002436/1.376, allocations: 1.715 MB / 0.8231 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08265/1.459, allocations: 70.79 MB / 0.8922 GB, free: 52.04 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006038/1.465, allocations: 4.668 MB / 0.8968 GB, free: 47.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003892/1.469, allocations: 2.691 MB / 0.8994 GB, free: 45.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02109/1.49, allocations: 13.66 MB / 0.9127 GB, free: 32.73 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/1.49, allocations: 56.56 kB / 0.9128 GB, free: 32.67 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=286): time 6.632e-06/1.49, allocations: 0 / 0.9128 GB, free: 32.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=346): time 0.04369/1.534, allocations: 17.84 MB / 0.9302 GB, free: 17.11 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.831e-05/1.534, allocations: 192.3 kB / 0.9304 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007087/1.541, allocations: 4.583 MB / 0.9349 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006507/1.542, allocations: 25.7 kB / 0.9349 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002628/1.544, allocations: 5.09 MB / 0.9399 GB, free: 8.234 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001444/1.546, allocations: 1.253 MB / 0.9411 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000433/1.546, allocations: 0 / 0.9411 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004233/1.547, allocations: 0.7274 MB / 0.9418 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003919/1.551, allocations: 3.046 MB / 0.9448 GB, free: 3.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3939/1.944, allocations: 8.745 MB / 0.9533 GB, free: 98.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0131/1.958, allocations: 5.47 MB / 0.9587 GB, free: 98.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004293/1.958, allocations: 58.28 kB / 0.9587 GB, free: 98.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1292) (initialization): time 0.03225/1.99, allocations: 11.89 MB / 0.9703 GB, free: 97.49 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001922/1.991, allocations: 91.78 kB / 0.9704 GB, free: 97.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002856/1.991, allocations: 212.5 kB / 0.9706 GB, free: 97.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00384/1.995, allocations: 1.31 MB / 0.9719 GB, free: 97.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007589/2.002, allocations: 2.268 MB / 0.9741 GB, free: 97.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009065/2.011, allocations: 6.833 MB / 0.9808 GB, free: 95.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008487/2.02, allocations: 383.3 kB / 0.9811 GB, free: 95.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002791/2.023, allocations: 0.5707 MB / 0.9817 GB, free: 95.89 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 927 * 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 (1206): * Single equations (assignments): 1199 * 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.002639/2.025, allocations: 0.6106 MB / 0.9823 GB, free: 95.58 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009531/2.035, allocations: 5.156 MB / 0.9873 GB, free: 95.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008999/2.036, allocations: 0.4921 MB / 0.9878 GB, free: 95.39 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009562/2.046, allocations: 5.028 MB / 0.9927 GB, free: 95.15 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.895e-05/2.046, allocations: 40.25 kB / 0.9928 GB, free: 95.15 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/2.046, allocations: 10.47 kB / 0.9928 GB, free: 95.15 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.693e-05/2.046, allocations: 13.92 kB / 0.9928 GB, free: 95.15 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02294/2.069, allocations: 12.23 MB / 1.005 GB, free: 93.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.446e-05/2.069, allocations: 10.62 kB / 1.005 GB, free: 93.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002145/2.071, allocations: 0.5163 MB / 1.005 GB, free: 93.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00303/2.074, allocations: 0.8599 MB / 1.006 GB, free: 93.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003371/2.074, allocations: 24.66 kB / 1.006 GB, free: 93.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007075/2.081, allocations: 5.149 MB / 1.011 GB, free: 90.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.236e-05/2.081, allocations: 23.45 kB / 1.011 GB, free: 90.32 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/2.094, allocations: 9.758 MB / 1.021 GB, free: 84.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001765/2.096, allocations: 0.5364 MB / 1.021 GB, free: 84.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006944/2.096, allocations: 14.75 kB / 1.021 GB, free: 84.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002053/2.098, allocations: 131.4 kB / 1.021 GB, free: 84.42 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003742/2.099, allocations: 217.1 kB / 1.022 GB, free: 84.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002002/2.099, allocations: 104.1 kB / 1.022 GB, free: 84.35 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004514/2.103, allocations: 3.034 MB / 1.025 GB, free: 83.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/2.103, allocations: 0 / 1.025 GB, free: 83.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00798/2.111, allocations: 1.439 MB / 1.026 GB, free: 83.27 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 (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.01196/2.123, allocations: 12.85 MB / 1.039 GB, free: 74.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01059/2.134, allocations: 7.291 MB / 1.046 GB, free: 72.15 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/2.134, allocations: 0 / 1.046 GB, free: 72.15 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003002/2.137, allocations: 2.279 MB / 1.048 GB, free: 71.21 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/2.14, allocations: 0.5069 MB / 1.048 GB, free: 71 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03139/2.171, allocations: 14.64 MB / 1.063 GB, free: 59.87 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005635/2.177, allocations: 5.308 MB / 1.068 GB, free: 55.94 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007215/2.184, allocations: 3.116 MB / 1.071 GB, free: 53.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004663/2.189, allocations: 3.354 MB / 1.074 GB, free: 50.85 MB / 0.5261 GB Notification: Performance of SimCode: time 8.42e-07/2.189, allocations: 0 / 1.074 GB, free: 50.85 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5015/2.69, allocations: 117.2 MB / 1.189 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001391/2.691, allocations: 138.7 kB / 1.189 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.606/8.297, allocations: 3.125 kB / 1.189 GB, free: 103.1 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointSSR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat does not exist to compare? outputFormat=mat