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.001579/0.001579, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.2 MB / 245 MB, free: 7.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001023/0.001024, allocations: 105.7 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3882/0.3882, allocations: 45.23 MB / 394.6 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002889/0.0002889, allocations: 8.219 kB / 468.5 MB, free: 7.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.374, allocations: 63.24 MB / 0.5193 GB, free: 43.73 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1594/0.5335, allocations: 119.2 MB / 0.6356 GB, free: 2.383 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.5338, allocations: 85.59 kB / 0.6357 GB, free: 2.305 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.645/1.179, allocations: 160.1 MB / 0.792 GB, free: 81.53 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.875e-06/1.179, allocations: 3.438 kB / 0.792 GB, free: 81.53 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004798/1.179, allocations: 133.6 kB / 0.7922 GB, free: 81.53 MB / 0.4948 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.02706/1.206, allocations: 6.97 MB / 0.799 GB, free: 76.33 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/1.207, allocations: 8.031 kB / 0.799 GB, free: 76.32 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007604/1.214, allocations: 1.506 MB / 0.8005 GB, free: 74.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02837/1.243, allocations: 6.667 MB / 0.807 GB, free: 68.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02118/1.264, allocations: 7.219 MB / 0.814 GB, free: 60.83 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007393/1.265, allocations: 0.5255 MB / 0.8145 GB, free: 60.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004977/1.27, allocations: 0.7028 MB / 0.8152 GB, free: 59.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04209/1.312, allocations: 18.88 MB / 0.8337 GB, free: 39.38 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004241/1.312, allocations: 83.27 kB / 0.8337 GB, free: 39.29 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003433/1.316, allocations: 335.8 kB / 0.8341 GB, free: 38.96 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002451/1.318, allocations: 1.715 MB / 0.8357 GB, free: 37.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03365/1.352, allocations: 16.55 MB / 0.8519 GB, free: 20.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4432/1.795, allocations: 74.15 MB / 0.9243 GB, free: 62.67 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01547/1.81, allocations: 6.159 MB / 0.9303 GB, free: 61.42 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02556/1.836, allocations: 13.88 MB / 0.9439 GB, free: 57.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.443e-05/1.836, allocations: 65.25 kB / 0.9439 GB, free: 57.12 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=284): time 7.885e-06/1.836, allocations: 0 / 0.9439 GB, free: 57.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=344): time 0.09018/1.926, allocations: 24.59 MB / 0.9679 GB, free: 52.42 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.473e-05/1.927, allocations: 188 kB / 0.9681 GB, free: 52.23 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0111/1.938, allocations: 5.23 MB / 0.9732 GB, free: 51.74 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007828/1.939, allocations: 73.08 kB / 0.9733 GB, free: 51.71 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004023/1.943, allocations: 5.005 MB / 0.9782 GB, free: 48.83 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001766/1.944, allocations: 1.279 MB / 0.9794 GB, free: 48.09 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007507/1.945, allocations: 188.1 kB / 0.9796 GB, free: 48.09 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004823/1.946, allocations: 0.7103 MB / 0.9803 GB, free: 47.77 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005154/1.951, allocations: 3.266 MB / 0.9835 GB, free: 47.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008492/1.959, allocations: 8.723 MB / 0.992 GB, free: 39.14 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007701/1.967, allocations: 5.249 MB / 0.9971 GB, free: 37.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000145/1.967, allocations: 57.53 kB / 0.9972 GB, free: 37.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.02482/1.992, allocations: 12.77 MB / 1.01 GB, free: 33.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001391/1.992, allocations: 87.97 kB / 1.01 GB, free: 33.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002665/1.993, allocations: 195.9 kB / 1.01 GB, free: 33.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004215/1.997, allocations: 1.321 MB / 1.011 GB, free: 33.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007817/2.005, allocations: 2.189 MB / 1.013 GB, free: 32.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01116/2.016, allocations: 7.396 MB / 1.021 GB, free: 28.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008162/2.024, allocations: 0.566 MB / 1.021 GB, free: 28.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001828/2.026, allocations: 0.5424 MB / 1.022 GB, free: 28.66 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 () * Number of clocked 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.00844/2.034, allocations: 3.448 MB / 1.025 GB, free: 27.09 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001335/2.036, allocations: 0.5313 MB / 1.026 GB, free: 26.79 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/2.047, allocations: 5.329 MB / 1.031 GB, free: 23.17 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.153e-05/2.048, allocations: 37.95 kB / 1.031 GB, free: 23.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.391e-05/2.048, allocations: 11.95 kB / 1.031 GB, free: 23.12 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.472e-05/2.048, allocations: 13.5 kB / 1.031 GB, free: 23.12 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03522/2.083, allocations: 14.09 MB / 1.045 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.18e-05/2.083, allocations: 12.94 kB / 1.045 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002304/2.085, allocations: 0.5442 MB / 1.045 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003431/2.089, allocations: 0.9178 MB / 1.046 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003912/2.089, allocations: 69.47 kB / 1.046 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008097/2.097, allocations: 5.71 MB / 1.052 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/2.097, allocations: 15.94 kB / 1.052 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01486/2.112, allocations: 10.24 MB / 1.062 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002086/2.114, allocations: 0.5671 MB / 1.062 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001467/2.116, allocations: 67.14 kB / 1.062 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003015/2.119, allocations: 186.3 kB / 1.062 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006277/2.119, allocations: 223.8 kB / 1.063 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002368/2.12, allocations: 95.52 kB / 1.063 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.009326/2.129, allocations: 3.647 MB / 1.066 GB, free: 7.316 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.62e-07/2.129, allocations: 0 / 1.066 GB, free: 7.316 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01216/2.141, allocations: 1.664 MB / 1.068 GB, free: 5.672 MB / 0.5417 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 (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.02447/2.166, allocations: 13.74 MB / 1.081 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01521/2.181, allocations: 7.783 MB / 1.089 GB, free: 3.336 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.752e-05/2.181, allocations: 0 / 1.089 GB, free: 3.336 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005071/2.186, allocations: 2.403 MB / 1.091 GB, free: 1.188 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003875/2.19, allocations: 0.637 MB / 1.092 GB, free: 0.6406 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3989/2.589, allocations: 167.2 MB / 1.255 GB, free: 28.93 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007638/2.597, allocations: 5.315 MB / 1.26 GB, free: 28.04 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.007512/2.604, allocations: 3.038 MB / 1.263 GB, free: 27.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004653/2.609, allocations: 3.376 MB / 1.267 GB, free: 27.89 MB / 0.5886 GB Notification: Performance of SimCode: time 1.182e-06/2.609, allocations: 0 / 1.267 GB, free: 27.89 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4721/3.081, allocations: 121.4 MB / 1.385 GB, free: 153.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/3.081, allocations: 209.5 kB / 1.385 GB, free: 153.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.868/9.949, allocations: 6.5 kB / 1.385 GB, free: 153.1 MB / 0.5886 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