Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01084/0.01084, allocations: 104 kB / 15.05 MB, free: 5.949 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001236/0.001236, allocations: 174 kB / 15.93 MB, free: 5.91 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.603/1.603, allocations: 170.9 MB / 187.5 MB, free: 0.8555 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2547/0.2547, allocations: 38.1 MB / 265.1 MB, free: 3.949 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006584/0.0006589, allocations: 8 kB / 323.6 MB, free: 29.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09152/0.09223, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.04321/0.1355, allocations: 28.34 MB / 400.6 MB, free: 448 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02099/0.1565, allocations: 7.395 MB / 408 MB, free: 9.023 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005299/0.1619, allocations: 139.6 kB / 408.2 MB, free: 8.887 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004883/0.1668, allocations: 1.384 MB / 409.5 MB, free: 7.496 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01558/0.1825, allocations: 4.142 MB / 413.7 MB, free: 3.344 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002898/0.1854, allocations: 0.5069 MB / 414.2 MB, free: 2.836 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004847/0.1903, allocations: 1.872 MB / 416.1 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006067/0.1964, allocations: 2.916 MB / 419 MB, free: 13.99 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001855/0.1983, allocations: 0.8525 MB / 419.8 MB, free: 13.14 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002299/0.2007, allocations: 1.113 MB / 420.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000602/0.2013, allocations: 112 kB / 421.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002414/0.2037, allocations: 0.823 MB / 421.9 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002173/0.2059, allocations: 1.27 MB / 423.2 MB, free: 9.812 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.2072, allocations: 0.6908 MB / 423.8 MB, free: 9.113 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007539/0.2147, allocations: 4.423 MB / 428.3 MB, free: 4.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2148, allocations: 0 / 428.3 MB, free: 4.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.2148, allocations: 0 / 428.3 MB, free: 4.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001612/0.215, allocations: 0 / 428.3 MB, free: 4.68 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01085/0.2258, allocations: 3.41 MB / 431.7 MB, free: 1.203 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.2259, allocations: 8.031 kB / 431.7 MB, free: 1.195 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001912/0.2279, allocations: 0.5997 MB / 432.3 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2781/0.506, allocations: 2.096 MB / 434.4 MB, free: 60.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006763/0.5128, allocations: 2.136 MB / 436.5 MB, free: 59.72 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002512/0.5131, allocations: 189.9 kB / 436.7 MB, free: 59.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001388/0.5145, allocations: 246.8 kB / 436.9 MB, free: 59.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02214/0.5367, allocations: 8.378 MB / 445.3 MB, free: 55.37 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001838/0.5369, allocations: 52.48 kB / 445.4 MB, free: 55.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007384/0.5377, allocations: 121.8 kB / 445.5 MB, free: 55.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004175/0.5419, allocations: 1.617 MB / 447.1 MB, free: 54.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02023/0.5621, allocations: 7.047 MB / 454.2 MB, free: 49.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05007/0.6123, allocations: 33.88 MB / 488 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01124/0.6236, allocations: 3.163 MB / 491.2 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00885/0.6325, allocations: 4.051 MB / 495.2 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.6326, allocations: 43.12 kB / 495.3 MB, free: 7.516 MB / 330.7 MB Notification: Performance of pre-optimization done (n=114): time 5.23e-06/0.6326, allocations: 0 / 495.3 MB, free: 7.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=122): time 0.04745/0.6801, allocations: 11.6 MB / 0.495 GB, free: 11.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.6802, allocations: 162.8 kB / 0.4952 GB, free: 11.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00852/0.6887, allocations: 3.822 MB / 0.4989 GB, free: 7.703 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003354/0.6891, allocations: 42.8 kB / 0.4989 GB, free: 7.656 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003219/0.6924, allocations: 2.729 MB / 0.5016 GB, free: 4.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009742/0.6934, allocations: 0.4957 MB / 0.5021 GB, free: 4.438 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006253/0.694, allocations: 105.2 kB / 0.5022 GB, free: 4.336 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004982/0.6946, allocations: 0.5212 MB / 0.5027 GB, free: 3.809 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004864/0.6994, allocations: 1.673 MB / 0.5043 GB, free: 2.133 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00777/0.7073, allocations: 5.053 MB / 0.5093 GB, free: 11.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007112/0.7144, allocations: 2.846 MB / 0.512 GB, free: 8.512 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001007/0.7146, allocations: 36 kB / 0.5121 GB, free: 8.477 MB / 362.7 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01902/0.7336, allocations: 6.621 MB / 0.5185 GB, free: 1.848 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.7338, allocations: 60 kB / 0.5186 GB, free: 1.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001818/0.734, allocations: 120 kB / 0.5187 GB, free: 1.672 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.735, allocations: 336.7 kB / 0.519 GB, free: 1.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007257/0.7423, allocations: 1.224 MB / 0.5202 GB, free: 116 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004158/0.7465, allocations: 2.371 MB / 0.5225 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005666/0.7522, allocations: 291.5 kB / 0.5228 GB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001238/0.7535, allocations: 329.1 kB / 0.5231 GB, free: 13 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (654): * Single equations (assignments): 650 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005081/0.7586, allocations: 1.769 MB / 0.5249 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009274/0.7596, allocations: 308 kB / 0.5252 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008399/0.768, allocations: 2.339 MB / 0.5274 GB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.937e-05/0.7681, allocations: 16.12 kB / 0.5275 GB, free: 8.547 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.7682, allocations: 11.94 kB / 0.5275 GB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-05/0.7682, allocations: 3.984 kB / 0.5275 GB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01994/0.7882, allocations: 5.856 MB / 0.5332 GB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.497e-05/0.7882, allocations: 0 / 0.5332 GB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001656/0.7899, allocations: 163.7 kB / 0.5333 GB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004134/0.7941, allocations: 0.7108 MB / 0.534 GB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002592/0.7944, allocations: 23.98 kB / 0.5341 GB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/0.8048, allocations: 4.568 MB / 0.5385 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.8048, allocations: 3.938 kB / 0.5385 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/0.8174, allocations: 4.399 MB / 0.5428 GB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002011/0.8195, allocations: 0.536 MB / 0.5433 GB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008812/0.8204, allocations: 16 kB / 0.5434 GB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002276/0.8227, allocations: 76.67 kB / 0.5434 GB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004173/0.8232, allocations: 76.41 kB / 0.5435 GB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/0.8233, allocations: 32.7 kB / 0.5435 GB, free: 7.824 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.006084/0.8294, allocations: 2.401 MB / 0.5459 GB, free: 5.438 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.8295, allocations: 0 / 0.5459 GB, free: 5.438 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006118/0.8356, allocations: 0.8222 MB / 0.5467 GB, free: 4.621 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (90): * Single equations (assignments): 86 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01329/0.8489, allocations: 5.32 MB / 0.5519 GB, free: 15.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01005/0.859, allocations: 3.963 MB / 0.5558 GB, free: 11.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/0.8591, allocations: 4.188 kB / 0.5558 GB, free: 11.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002842/0.8619, allocations: 1.091 MB / 0.5568 GB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003016/0.865, allocations: 352 kB / 0.5572 GB, free: 9.859 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3215/1.187, allocations: 98.69 MB / 0.6535 GB, free: 65.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006592/1.193, allocations: 2.833 MB / 0.6563 GB, free: 65.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007879/1.201, allocations: 1.642 MB / 0.6579 GB, free: 64.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003471/1.205, allocations: 1.517 MB / 0.6594 GB, free: 64.07 MB / 426.7 MB Notification: Performance of SimCode: time 1.352e-06/1.205, allocations: 0 / 0.6594 GB, free: 64.07 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1763/1.381, allocations: 64.2 MB / 0.7221 GB, free: 11.33 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002302/1.381, allocations: 210.3 kB / 0.7223 GB, free: 11.09 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.184/6.565, allocations: 3.938 kB / 0.7223 GB, free: 11.09 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat does not exist to compare? outputFormat=mat