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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001315/0.001315, allocations: 98.92 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001515/0.001515, allocations: 206.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 227.3 MB / 245.9 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2298/0.2298, allocations: 45.92 MB / 344 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002811/0.0002811, allocations: 4 kB / 418.1 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1631, allocations: 63.45 MB / 481.5 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.3781/0.5412, allocations: 49.79 MB / 0.5189 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03331/0.5746, allocations: 12.22 MB / 0.5308 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01422/0.5888, allocations: 247.8 kB / 0.531 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01055/0.5994, allocations: 2.474 MB / 0.5334 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03126/0.6307, allocations: 7.177 MB / 0.5405 GB, free: 4.977 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005398/0.6361, allocations: 1.042 MB / 0.5415 GB, free: 4.375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04347/0.6796, allocations: 26.94 MB / 0.5678 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01194/0.6916, allocations: 6.984 MB / 0.5746 GB, free: 8.031 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004779/0.6965, allocations: 1.775 MB / 0.5763 GB, free: 6.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005038/0.7015, allocations: 2.512 MB / 0.5788 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001688/0.7033, allocations: 260 kB / 0.579 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003916/0.7072, allocations: 1.241 MB / 0.5802 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003673/0.7109, allocations: 2.692 MB / 0.5829 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002418/0.7133, allocations: 1.388 MB / 0.5842 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01351/0.7268, allocations: 9.601 MB / 0.5936 GB, free: 4.516 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.7269, allocations: 0 / 0.5936 GB, free: 4.516 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.7269, allocations: 0 / 0.5936 GB, free: 4.516 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004797/0.7274, allocations: 0 / 0.5936 GB, free: 4.516 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.02093/0.7483, allocations: 6.689 MB / 0.6001 GB, free: 13.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.996e-05/0.7484, allocations: 12.03 kB / 0.6002 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00571/0.7541, allocations: 1.31 MB / 0.6014 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03492/0.7891, allocations: 7.163 MB / 0.6084 GB, free: 5.223 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01285/0.802, allocations: 4.453 MB / 0.6128 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004588/0.8025, allocations: 394 kB / 0.6132 GB, free: 332 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003533/0.806, allocations: 0.5659 MB / 0.6137 GB, free: 15.76 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04408/0.8501, allocations: 19.07 MB / 0.6323 GB, free: 11.64 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000247/0.8504, allocations: 79.3 kB / 0.6324 GB, free: 11.56 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001043/0.8515, allocations: 247.7 kB / 0.6326 GB, free: 11.32 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005617/0.8571, allocations: 3.424 MB / 0.636 GB, free: 7.891 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04117/0.8983, allocations: 16.75 MB / 0.6523 GB, free: 7.121 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.6698/1.568, allocations: 66.96 MB / 0.7177 GB, free: 137 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01844/1.587, allocations: 6.3 MB / 0.7239 GB, free: 135.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03171/1.618, allocations: 14.06 MB / 0.7376 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/1.618, allocations: 60.12 kB / 0.7377 GB, free: 130 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 5.791e-06/1.618, allocations: 0 / 0.7377 GB, free: 130 MB / 0.5294 GB Notification: Performance of matching and sorting (n=345): time 0.09725/1.716, allocations: 25.66 MB / 0.7627 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.547e-05/1.716, allocations: 188.3 kB / 0.7629 GB, free: 119.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01049/1.726, allocations: 6.215 MB / 0.769 GB, free: 113.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007954/1.727, allocations: 74.88 kB / 0.769 GB, free: 113.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003436/1.731, allocations: 4.978 MB / 0.7739 GB, free: 108.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001879/1.733, allocations: 1.285 MB / 0.7752 GB, free: 107 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004152/1.733, allocations: 188 kB / 0.7753 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004146/1.733, allocations: 0.703 MB / 0.776 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004756/1.738, allocations: 3.259 MB / 0.7792 GB, free: 102.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007554/1.746, allocations: 8.699 MB / 0.7877 GB, free: 91.64 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007742/1.754, allocations: 5.239 MB / 0.7928 GB, free: 86.55 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001369/1.754, allocations: 52 kB / 0.7929 GB, free: 86.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02766/1.781, allocations: 12.75 MB / 0.8053 GB, free: 73.74 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002002/1.782, allocations: 98.73 kB / 0.8054 GB, free: 73.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003354/1.782, allocations: 192 kB / 0.8056 GB, free: 73.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004495/1.786, allocations: 1.342 MB / 0.8069 GB, free: 72.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008613/1.795, allocations: 2.164 MB / 0.809 GB, free: 69.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01353/1.809, allocations: 7.52 MB / 0.8164 GB, free: 62.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01178/1.821, allocations: 0.5033 MB / 0.8169 GB, free: 61.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002517/1.823, allocations: 0.5457 MB / 0.8174 GB, free: 61.25 MB / 0.5294 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.008823/1.832, allocations: 3.457 MB / 0.8208 GB, free: 57.78 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001754/1.834, allocations: 0.5206 MB / 0.8213 GB, free: 57.25 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01248/1.846, allocations: 5.401 MB / 0.8265 GB, free: 51.79 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.543e-05/1.846, allocations: 36 kB / 0.8266 GB, free: 51.76 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-05/1.846, allocations: 8.469 kB / 0.8266 GB, free: 51.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.889e-05/1.846, allocations: 15.94 kB / 0.8266 GB, free: 51.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03707/1.884, allocations: 14.02 MB / 0.8403 GB, free: 37.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.552e-05/1.884, allocations: 15.78 kB / 0.8403 GB, free: 37.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002114/1.886, allocations: 0.4992 MB / 0.8408 GB, free: 36.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003177/1.889, allocations: 0.8163 MB / 0.8416 GB, free: 36.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002959/1.889, allocations: 65.56 kB / 0.8417 GB, free: 36.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008224/1.898, allocations: 5.56 MB / 0.8471 GB, free: 30.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.08e-05/1.898, allocations: 19.94 kB / 0.8471 GB, free: 30.39 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01425/1.912, allocations: 10.01 MB / 0.8569 GB, free: 19.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00273/1.915, allocations: 0.58 MB / 0.8575 GB, free: 19.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001033/1.916, allocations: 63.98 kB / 0.8575 GB, free: 19.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00219/1.918, allocations: 144.5 kB / 0.8577 GB, free: 18.96 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004529/1.918, allocations: 222.4 kB / 0.8579 GB, free: 18.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002123/1.919, allocations: 105.5 kB / 0.858 GB, free: 18.65 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006141/1.925, allocations: 3.91 MB / 0.8618 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.1e-07/1.925, allocations: 0 / 0.8618 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009932/1.935, allocations: 1.649 MB / 0.8634 GB, free: 13.13 MB / 0.5294 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.01588/1.951, allocations: 13.04 MB / 0.8761 GB, free: 15.61 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.01615/1.967, allocations: 7.748 MB / 0.8837 GB, free: 7.879 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 1.956e-05/1.967, allocations: 0 / 0.8837 GB, free: 7.879 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.004724/1.972, allocations: 2.375 MB / 0.886 GB, free: 5.492 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004699/1.976, allocations: 0.6431 MB / 0.8866 GB, free: 4.855 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4124/2.389, allocations: 166.3 MB / 1.049 GB, free: 77.04 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01132/2.4, allocations: 5.313 MB / 1.054 GB, free: 76.12 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.009527/2.41, allocations: 2.972 MB / 1.057 GB, free: 75.86 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005014/2.415, allocations: 3.333 MB / 1.06 GB, free: 73.82 MB / 0.5763 GB Notification: Performance of SimCode: time 2.204e-06/2.415, allocations: 0 / 1.06 GB, free: 73.82 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4669/2.882, allocations: 123.5 MB / 1.181 GB, free: 193.4 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/2.882, allocations: 204.2 kB / 1.181 GB, free: 193.1 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.505/8.387, allocations: 0 / 1.181 GB, free: 193.1 MB / 0.5763 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