Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 101.5 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 192.5 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2215/0.2215, allocations: 43.52 MB / 313.9 MB, free: 0.5117 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001573, allocations: 67.72 kB / 382.8 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1171, allocations: 57.79 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.0114/0.1286, allocations: 10.28 MB / 450.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008571/0.1372, allocations: 3.78 MB / 454.7 MB, free: 8.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001866/0.1391, allocations: 63.75 kB / 454.7 MB, free: 8.605 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00405/0.1432, allocations: 1.946 MB / 456.7 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00436/0.1476, allocations: 1.65 MB / 458.3 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001718/0.1493, allocations: 0.616 MB / 459 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004954/0.1543, allocations: 3.345 MB / 462.3 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0037/0.158, allocations: 2.576 MB / 464.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002497/0.1606, allocations: 1.25 MB / 466.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00292/0.1635, allocations: 1.67 MB / 467.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009302/0.1645, allocations: 256 kB / 468 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002546/0.167, allocations: 1.034 MB / 469.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00215/0.1692, allocations: 1.566 MB / 470.6 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003359/0.1726, allocations: 1.837 MB / 472.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008159/0.1807, allocations: 5.638 MB / 478.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.1808, allocations: 0 / 478.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.488e-06/0.1808, allocations: 0 / 478.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002473/0.1811, allocations: 3.938 kB / 478.1 MB, free: 1.105 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.0108/0.1919, allocations: 4.042 MB / 482.2 MB, free: 13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.1919, allocations: 15.89 kB / 482.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00162/0.1936, allocations: 0.6043 MB / 482.8 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00709/0.2007, allocations: 1.79 MB / 484.6 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004472/0.2052, allocations: 2.393 MB / 487 MB, free: 8.117 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002081/0.2054, allocations: 189 kB / 487.2 MB, free: 7.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008141/0.2062, allocations: 251.9 kB / 487.4 MB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01413/0.2204, allocations: 8.436 MB / 495.8 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001155/0.2205, allocations: 39.59 kB / 495.9 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006586/0.2212, allocations: 131.9 kB / 496 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002932/0.2241, allocations: 1.699 MB / 497.7 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.014/0.2382, allocations: 7.094 MB / 0.493 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04294/0.2812, allocations: 34.18 MB / 0.5263 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1766/0.4578, allocations: 3.276 MB / 0.5295 GB, free: 87.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001906/0.4597, allocations: 1.457 MB / 0.531 GB, free: 87.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006073/0.4658, allocations: 4.358 MB / 0.5352 GB, free: 85.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.4659, allocations: 51.2 kB / 0.5353 GB, free: 85.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=121): time 4.549e-06/0.4659, allocations: 3.391 kB / 0.5353 GB, free: 85.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.02823/0.4941, allocations: 11.59 MB / 0.5466 GB, free: 81.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.4942, allocations: 174.4 kB / 0.5468 GB, free: 81.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003899/0.4981, allocations: 3.745 MB / 0.5504 GB, free: 79.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001353/0.4983, allocations: 42.67 kB / 0.5505 GB, free: 79.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00112/0.4994, allocations: 2.754 MB / 0.5531 GB, free: 77.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003614/0.4998, allocations: 0.5213 MB / 0.5537 GB, free: 77.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009691/0.5007, allocations: 1.074 MB / 0.5547 GB, free: 76.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.077e-05/0.5008, allocations: 301.1 kB / 0.555 GB, free: 76.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00179/0.5026, allocations: 1.696 MB / 0.5566 GB, free: 75.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00273/0.5053, allocations: 5.116 MB / 0.5616 GB, free: 69.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005485/0.5108, allocations: 7.409 MB / 0.5689 GB, free: 60.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-05/0.5109, allocations: 36 kB / 0.5689 GB, free: 60.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.008116/0.519, allocations: 6.704 MB / 0.5755 GB, free: 54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.547e-05/0.5191, allocations: 60 kB / 0.5755 GB, free: 53.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.051e-05/0.5192, allocations: 120 kB / 0.5756 GB, free: 53.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005013/0.5197, allocations: 320.9 kB / 0.5759 GB, free: 53.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003/0.5227, allocations: 1.24 MB / 0.5771 GB, free: 52.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/0.5247, allocations: 2.493 MB / 0.5796 GB, free: 49.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003253/0.5279, allocations: 295.5 kB / 0.5799 GB, free: 49.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002905/0.5282, allocations: 339.5 kB / 0.5802 GB, free: 49.01 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (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.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 (664): * Single equations (assignments): 660 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002203/0.5304, allocations: 1.791 MB / 0.5819 GB, free: 47.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004285/0.5309, allocations: 311.5 kB / 0.5822 GB, free: 46.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003806/0.5347, allocations: 2.363 MB / 0.5845 GB, free: 44.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/0.5347, allocations: 12 kB / 0.5845 GB, free: 44.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.5347, allocations: 4.625 kB / 0.5846 GB, free: 44.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.5348, allocations: 11.97 kB / 0.5846 GB, free: 44.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008553/0.5433, allocations: 5.929 MB / 0.5904 GB, free: 38.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.5434, allocations: 0 / 0.5904 GB, free: 38.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007502/0.5441, allocations: 177.3 kB / 0.5905 GB, free: 38.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001872/0.546, allocations: 0.7225 MB / 0.5912 GB, free: 37.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.776e-05/0.5461, allocations: 20 kB / 0.5912 GB, free: 37.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004465/0.5506, allocations: 4.816 MB / 0.596 GB, free: 32.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.5506, allocations: 0 / 0.596 GB, free: 32.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005502/0.5561, allocations: 4.329 MB / 0.6002 GB, free: 28.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/0.5574, allocations: 0.5336 MB / 0.6007 GB, free: 27.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003777/0.5578, allocations: 16.11 kB / 0.6007 GB, free: 27.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.5589, allocations: 79.27 kB / 0.6008 GB, free: 27.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002163/0.5591, allocations: 68.56 kB / 0.6009 GB, free: 27.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.639e-05/0.5592, allocations: 32.12 kB / 0.6009 GB, free: 27.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002842/0.5621, allocations: 2.335 MB / 0.6032 GB, free: 25.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5621, allocations: 4.062 kB / 0.6032 GB, free: 25.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003733/0.5658, allocations: 0.8228 MB / 0.604 GB, free: 24.41 MB / 414.1 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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005903/0.5718, allocations: 4.958 MB / 0.6088 GB, free: 19.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005513/0.5773, allocations: 4.4 MB / 0.6131 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.5773, allocations: 0 / 0.6131 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.5785, allocations: 1.111 MB / 0.6142 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/0.5808, allocations: 396.3 kB / 0.6146 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05504/0.6358, allocations: 42.39 MB / 0.656 GB, free: 12.28 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002873/0.6387, allocations: 2.794 MB / 0.6587 GB, free: 9.473 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004191/0.6429, allocations: 1.662 MB / 0.6603 GB, free: 7.812 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001988/0.6449, allocations: 1.53 MB / 0.6618 GB, free: 6.281 MB / 462.1 MB Notification: Performance of SimCode: time 1.312e-06/0.645, allocations: 0 / 0.6618 GB, free: 6.281 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3414/0.9864, allocations: 61.36 MB / 0.7217 GB, free: 167.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/12.26, allocations: 3.156 kB / 0.7217 GB, free: 167.2 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches