Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01318/0.01318, allocations: 105.7 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001235/0.001234, allocations: 181.7 kB / 15.95 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.105/2.105, allocations: 194.5 MB / 211.2 MB, free: 11.09 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2685/0.2685, allocations: 40.05 MB / 296.5 MB, free: 6.277 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005155/0.0005157, allocations: 12 kB / 361.1 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1193, allocations: 54.88 MB / 416 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.3909/0.5103, allocations: 56.17 MB / 472.2 MB, free: 30.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03577/0.5461, allocations: 13.7 MB / 485.9 MB, free: 24.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01526/0.5614, allocations: 286.7 kB / 486.2 MB, free: 23.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01002/0.5715, allocations: 2.849 MB / 489 MB, free: 23.11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03022/0.6018, allocations: 8.052 MB / 497.1 MB, free: 19.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006749/0.6086, allocations: 1.159 MB / 498.2 MB, free: 19.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.07741/0.686, allocations: 26.34 MB / 0.5123 GB, free: 9.246 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01393/0.7, allocations: 8.094 MB / 0.5202 GB, free: 1.145 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004132/0.7042, allocations: 1.752 MB / 0.5219 GB, free: 15.39 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005348/0.7096, allocations: 2.352 MB / 0.5242 GB, free: 13.02 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001376/0.7111, allocations: 244 kB / 0.5244 GB, free: 12.79 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004282/0.7154, allocations: 1.264 MB / 0.5256 GB, free: 11.52 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00464/0.72, allocations: 2.642 MB / 0.5282 GB, free: 8.871 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002446/0.7225, allocations: 1.326 MB / 0.5295 GB, free: 7.535 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01553/0.7381, allocations: 9.578 MB / 0.5389 GB, free: 13.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.7382, allocations: 3.938 kB / 0.5389 GB, free: 13.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.446e-06/0.7382, allocations: 3.938 kB / 0.5389 GB, free: 13.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003424/0.7385, allocations: 4 kB / 0.5389 GB, free: 13.93 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2163 * Number of variables: 2163 Notification: Performance of Generate backend data structure: time 0.02605/0.7646, allocations: 7.058 MB / 0.5458 GB, free: 6.789 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.7647, allocations: 8.031 kB / 0.5458 GB, free: 6.781 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004323/0.769, allocations: 1.152 MB / 0.5469 GB, free: 5.617 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1207/0.8898, allocations: 11.1 MB / 0.5578 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01949/0.9093, allocations: 5.863 MB / 0.5635 GB, free: 4.547 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004786/0.9098, allocations: 381.8 kB / 0.5638 GB, free: 4.172 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002478/0.9123, allocations: 0.5052 MB / 0.5643 GB, free: 3.668 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04722/0.9596, allocations: 15.64 MB / 0.5796 GB, free: 3.129 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003215/0.96, allocations: 67.42 kB / 0.5797 GB, free: 3.062 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001622/0.9616, allocations: 231.8 kB / 0.5799 GB, free: 2.836 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00626/0.9679, allocations: 2.486 MB / 0.5823 GB, free: 356 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06104/1.029, allocations: 13.11 MB / 0.5951 GB, free: 3.215 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4486/1.478, allocations: 57.32 MB / 0.6511 GB, free: 117 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02883/1.507, allocations: 6.442 MB / 0.6574 GB, free: 116.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02615/1.533, allocations: 11.43 MB / 0.6686 GB, free: 111.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.37e-05/1.533, allocations: 62.25 kB / 0.6686 GB, free: 111.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=245): time 8.185e-06/1.533, allocations: 0 / 0.6686 GB, free: 111.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=338): time 0.2497/1.783, allocations: 40.86 MB / 0.7085 GB, free: 98.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/1.783, allocations: 245.7 kB / 0.7087 GB, free: 98.42 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01226/1.795, allocations: 6.094 MB / 0.7147 GB, free: 92.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009231/1.796, allocations: 77.7 kB / 0.7148 GB, free: 92.49 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003713/1.8, allocations: 4.439 MB / 0.7191 GB, free: 88.05 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001868/1.802, allocations: 1.238 MB / 0.7203 GB, free: 86.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009354/1.803, allocations: 168 kB / 0.7205 GB, free: 86.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004793/1.803, allocations: 0.6491 MB / 0.7211 GB, free: 86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008918/1.812, allocations: 3.733 MB / 0.7248 GB, free: 82.26 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01165/1.824, allocations: 8.21 MB / 0.7328 GB, free: 71.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01209/1.836, allocations: 5.426 MB / 0.7381 GB, free: 66.46 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001329/1.836, allocations: 48 kB / 0.7381 GB, free: 66.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=1064) (initialization): time 0.05967/1.896, allocations: 15.36 MB / 0.7531 GB, free: 51 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001745/1.896, allocations: 76 kB / 0.7532 GB, free: 50.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002745/1.896, allocations: 156 kB / 0.7533 GB, free: 50.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02885/1.925, allocations: 4.115 MB / 0.7574 GB, free: 46.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01059/1.936, allocations: 1.795 MB / 0.7591 GB, free: 44.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05279/1.989, allocations: 20.28 MB / 0.7789 GB, free: 24.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009739/1.998, allocations: 0.4992 MB / 0.7794 GB, free: 23.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001705/2, allocations: 464 kB / 0.7798 GB, free: 23.49 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 714 * Number of states: 0 () * Number of discrete variables: 43 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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 (963): * Single equations (assignments): 959 * Array equations: 3 * 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 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007839/2.008, allocations: 3.113 MB / 0.7829 GB, free: 20.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001459/2.01, allocations: 0.5245 MB / 0.7834 GB, free: 19.83 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0356/2.045, allocations: 9.592 MB / 0.7928 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-05/2.045, allocations: 39.05 kB / 0.7928 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.802e-05/2.045, allocations: 16 kB / 0.7928 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.221e-05/2.045, allocations: 16.98 kB / 0.7928 GB, free: 10.11 MB / 490.7 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 postOpt removeSimpleEquations (simulation): time 0.06987/2.115, allocations: 19.79 MB / 0.8122 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.034e-05/2.115, allocations: 8 kB / 0.8122 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004631/2.12, allocations: 499.2 kB / 0.8126 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02364/2.144, allocations: 3.661 MB / 0.8162 GB, free: 1.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008677/2.145, allocations: 60 kB / 0.8163 GB, free: 1.922 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3737/2.518, allocations: 17.82 MB / 0.8337 GB, free: 147 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.337e-05/2.518, allocations: 14.88 kB / 0.8337 GB, free: 147 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04613/2.565, allocations: 15.14 MB / 0.8485 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004501/2.569, allocations: 1.162 MB / 0.8496 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002168/2.571, allocations: 62.52 kB / 0.8497 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006063/2.577, allocations: 227.1 kB / 0.8499 GB, free: 140 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001597/2.579, allocations: 225.5 kB / 0.8501 GB, free: 140 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005839/2.58, allocations: 90.19 kB / 0.8502 GB, free: 140 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01048/2.59, allocations: 3.919 MB / 0.854 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.51e-07/2.59, allocations: 0 / 0.854 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0121/2.602, allocations: 1.729 MB / 0.8557 GB, free: 138.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 2 (revolute.phi,revolute.w) * 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 (256): * Single equations (assignments): 252 * Array equations: 3 * 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 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05278/2.655, allocations: 17.16 MB / 0.8725 GB, free: 130 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0213/2.676, allocations: 9.185 MB / 0.8814 GB, free: 126.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/2.677, allocations: 0 / 0.8814 GB, free: 126.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009198/2.686, allocations: 3.623 MB / 0.885 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006533/2.692, allocations: 0.6983 MB / 0.8857 GB, free: 124.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3975/3.09, allocations: 136.8 MB / 1.019 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01136/3.101, allocations: 4.962 MB / 1.024 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01322/3.115, allocations: 2.6 MB / 1.027 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008267/3.123, allocations: 3.071 MB / 1.03 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.903e-06/3.123, allocations: 0 / 1.03 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2996/3.423, allocations: 134.3 MB / 1.161 GB, free: 31.43 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002754/3.423, allocations: 212.5 kB / 1.161 GB, free: 31.18 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.483/10.91, allocations: 0 / 1.161 GB, free: 31.18 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat does not exist to compare? outputFormat=mat