Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.JointUSR,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_FourbarVariants_JointUSR",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.01221/0.01222, allocations: 108.3 kB / 15.06 MB, free: 5.555 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.001218/0.001218, allocations: 184.6 kB / 15.95 MB, free: 5.52 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 1.95/1.95, allocations: 194.6 MB / 211.3 MB, free: 10.98 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.2974/0.2974, allocations: 40.04 MB / 296.5 MB, free: 6.277 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006389/0.0006392, allocations: 8 kB / 361.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1153, allocations: 54.87 MB / 416 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.4365/0.5519, allocations: 51.91 MB / 467.9 MB, free: 30.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03277/0.5847, allocations: 12.7 MB / 480.6 MB, free: 26.81 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0113/0.5961, allocations: 259.1 kB / 480.9 MB, free: 26.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01105/0.6072, allocations: 2.627 MB / 483.5 MB, free: 25.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03497/0.6422, allocations: 7.536 MB / 491 MB, free: 23.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007367/0.6496, allocations: 1.262 MB / 492.3 MB, free: 23.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.05688/0.7066, allocations: 12.31 MB / 0.4928 GB, free: 19.58 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02197/0.7286, allocations: 7.803 MB / 0.5004 GB, free: 16.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006648/0.7353, allocations: 2.021 MB / 0.5024 GB, free: 15.22 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007735/0.7431, allocations: 2.876 MB / 0.5052 GB, free: 13.67 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00252/0.7456, allocations: 290.3 kB / 0.5055 GB, free: 13.67 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00549/0.7512, allocations: 1.348 MB / 0.5068 GB, free: 13.13 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005069/0.7563, allocations: 3.035 MB / 0.5097 GB, free: 11.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003038/0.7594, allocations: 1.52 MB / 0.5112 GB, free: 10.29 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01465/0.7741, allocations: 10.6 MB / 0.5216 GB, free: 15.67 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.7741, allocations: 4 kB / 0.5216 GB, free: 15.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.7741, allocations: 0 / 0.5216 GB, free: 15.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000418/0.7746, allocations: 0 / 0.5216 GB, free: 15.66 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2779 * Number of variables: 2779 Notification: Performance of Generate backend data structure: time 0.0287/0.8033, allocations: 7.862 MB / 0.5293 GB, free: 7.723 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.8033, allocations: 8.031 kB / 0.5293 GB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005243/0.8086, allocations: 1.429 MB / 0.5307 GB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0681/0.8768, allocations: 7.408 MB / 0.5379 GB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02016/0.897, allocations: 6.011 MB / 0.5438 GB, free: 8.754 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006892/0.8977, allocations: 438.9 kB / 0.5442 GB, free: 8.324 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003416/0.9011, allocations: 0.6033 MB / 0.5448 GB, free: 7.723 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06434/0.9655, allocations: 20.84 MB / 0.5651 GB, free: 1.746 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003719/0.9659, allocations: 79.25 kB / 0.5652 GB, free: 1.668 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002388/0.9684, allocations: 279.7 kB / 0.5655 GB, free: 1.395 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01056/0.9789, allocations: 3.714 MB / 0.5691 GB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06437/1.043, allocations: 18.36 MB / 0.587 GB, free: 11.3 MB / 458.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 preOpt removeSimpleEquations (simulation): time 0.7884/1.832, allocations: 74.46 MB / 0.6597 GB, free: 99.85 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02924/1.861, allocations: 7.451 MB / 0.667 GB, free: 98.58 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04834/1.909, allocations: 18.16 MB / 0.6847 GB, free: 90.26 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.042e-05/1.91, allocations: 68.81 kB / 0.6848 GB, free: 90.2 MB / 490.8 MB Notification: Performance of pre-optimization done (n=332): time 9.748e-06/1.91, allocations: 3.969 kB / 0.6848 GB, free: 90.2 MB / 490.8 MB Notification: Performance of matching and sorting (n=413): time 0.2111/2.121, allocations: 35.7 MB / 0.7197 GB, free: 79.08 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.139e-05/2.121, allocations: 203.5 kB / 0.7199 GB, free: 78.88 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01408/2.135, allocations: 6.93 MB / 0.7266 GB, free: 74.75 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009286/2.136, allocations: 85.38 kB / 0.7267 GB, free: 74.66 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004457/2.14, allocations: 5.42 MB / 0.732 GB, free: 69.23 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002244/2.143, allocations: 1.522 MB / 0.7335 GB, free: 67.73 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00137/2.144, allocations: 208 kB / 0.7337 GB, free: 67.52 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0007783/2.145, allocations: 0.7524 MB / 0.7344 GB, free: 66.77 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01058/2.156, allocations: 4.132 MB / 0.7385 GB, free: 62.63 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01431/2.17, allocations: 9.964 MB / 0.7482 GB, free: 49.89 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01519/2.185, allocations: 6.275 MB / 0.7543 GB, free: 43.62 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001771/2.185, allocations: 60 kB / 0.7544 GB, free: 43.57 MB / 490.8 MB Notification: Performance of matching and sorting (n=1374) (initialization): time 0.04807/2.233, allocations: 15.84 MB / 0.7699 GB, free: 27.7 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000151/2.234, allocations: 96.81 kB / 0.7699 GB, free: 27.61 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002671/2.234, allocations: 204 kB / 0.7701 GB, free: 27.41 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01353/2.247, allocations: 2.334 MB / 0.7724 GB, free: 25.07 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01469/2.262, allocations: 2.399 MB / 0.7748 GB, free: 22.67 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03032/2.293, allocations: 12.08 MB / 0.7866 GB, free: 10.46 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01145/2.304, allocations: 0.5788 MB / 0.7871 GB, free: 9.879 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001978/2.306, allocations: 0.5859 MB / 0.7877 GB, free: 9.293 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 46 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[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.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 (1273): * Single equations (assignments): 1266 * 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%) 52} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00939/2.316, allocations: 3.758 MB / 0.7914 GB, free: 5.523 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001527/2.317, allocations: 0.5978 MB / 0.792 GB, free: 4.918 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0293/2.346, allocations: 8.144 MB / 0.7999 GB, free: 12.72 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000141/2.347, allocations: 63.19 kB / 0.8 GB, free: 12.66 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-05/2.347, allocations: 12 kB / 0.8 GB, free: 12.65 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.333e-05/2.347, allocations: 23.92 kB / 0.8 GB, free: 12.63 MB / 0.4949 GB 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.06547/2.412, allocations: 18.77 MB / 0.8183 GB, free: 9.477 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.776e-05/2.412, allocations: 15.98 kB / 0.8183 GB, free: 9.461 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005799/2.418, allocations: 0.6162 MB / 0.819 GB, free: 8.844 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01275/2.431, allocations: 1.75 MB / 0.8207 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008927/2.432, allocations: 87.69 kB / 0.8207 GB, free: 7.012 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3676/2.8, allocations: 10.15 MB / 0.8307 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.772e-05/2.8, allocations: 26.12 kB / 0.8307 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03614/2.836, allocations: 14.06 MB / 0.8444 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004338/2.84, allocations: 1.172 MB / 0.8456 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0019/2.842, allocations: 71.97 kB / 0.8456 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005564/2.848, allocations: 206.1 kB / 0.8458 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001298/2.849, allocations: 259.9 kB / 0.8461 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004511/2.849, allocations: 113.4 kB / 0.8462 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01011/2.86, allocations: 4.387 MB / 0.8505 GB, free: 150 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.122e-06/2.86, allocations: 0 / 0.8505 GB, free: 150 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01186/2.872, allocations: 1.931 MB / 0.8523 GB, free: 149.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (325): * Single equations (assignments): 318 * 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%) 42} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03971/2.911, allocations: 16.99 MB / 0.8689 GB, free: 140 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02558/2.937, allocations: 9.763 MB / 0.8785 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.698e-05/2.937, allocations: 0 / 0.8785 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008747/2.946, allocations: 3.298 MB / 0.8817 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006176/2.952, allocations: 0.7257 MB / 0.8824 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.422/3.374, allocations: 176.9 MB / 1.055 GB, free: 139.9 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01136/3.385, allocations: 5.747 MB / 1.061 GB, free: 139 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.01439/3.4, allocations: 3.32 MB / 1.064 GB, free: 138.9 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008291/3.408, allocations: 3.687 MB / 1.068 GB, free: 138.9 MB / 0.5262 GB Notification: Performance of SimCode: time 1.784e-06/3.408, allocations: 0 / 1.068 GB, free: 138.9 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3005/3.709, allocations: 141.8 MB / 1.206 GB, free: 29.32 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/3.709, allocations: 220.4 kB / 1.206 GB, free: 29.07 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.329/12.04, allocations: 0 / 1.206 GB, free: 29.07 MB / 0.5262 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR_res.mat does not exist to compare? outputFormat=mat