Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001425/0.001425, allocations: 173.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007042/0.0007043, allocations: 90.3 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3497/0.3497, allocations: 43.56 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003819, allocations: 23.98 kB / 432.1 MB, free: 5.699 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.106, allocations: 58.84 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.2473/0.3533, allocations: 45.64 MB / 0.524 GB, free: 17.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02215/0.3755, allocations: 10.08 MB / 0.5338 GB, free: 11.05 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009719/0.3853, allocations: 211.7 kB / 0.534 GB, free: 11.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006919/0.3922, allocations: 2.341 MB / 0.5363 GB, free: 10.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0166/0.4089, allocations: 7.006 MB / 0.5432 GB, free: 7.262 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003146/0.412, allocations: 0.6367 MB / 0.5438 GB, free: 7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006182/0.4182, allocations: 4.544 MB / 0.5482 GB, free: 5.457 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008079/0.4263, allocations: 5.167 MB / 0.5533 GB, free: 3.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002977/0.4294, allocations: 1.262 MB / 0.5545 GB, free: 2.918 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00359/0.433, allocations: 1.922 MB / 0.5564 GB, free: 2.336 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000743/0.4337, allocations: 146.8 kB / 0.5565 GB, free: 2.336 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002869/0.4366, allocations: 1.06 MB / 0.5575 GB, free: 2.004 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002056/0.4387, allocations: 1.725 MB / 0.5592 GB, free: 1.086 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002714/0.4414, allocations: 1.945 MB / 0.5611 GB, free: 15.66 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007002/0.4484, allocations: 5.667 MB / 0.5667 GB, free: 11.83 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.4485, allocations: 0 / 0.5667 GB, free: 11.83 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4485, allocations: 0 / 0.5667 GB, free: 11.83 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002448/0.4487, allocations: 0 / 0.5667 GB, free: 11.83 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: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.01101/0.4597, allocations: 3.98 MB / 0.5706 GB, free: 8.617 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.4598, allocations: 12.03 kB / 0.5706 GB, free: 8.605 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002168/0.462, allocations: 0.7568 MB / 0.5713 GB, free: 7.836 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007261/0.4693, allocations: 1.992 MB / 0.5732 GB, free: 5.836 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005929/0.4752, allocations: 2.712 MB / 0.5759 GB, free: 3.062 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/0.4755, allocations: 254.5 kB / 0.5761 GB, free: 2.812 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001411/0.4769, allocations: 423.7 kB / 0.5765 GB, free: 2.398 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01654/0.4934, allocations: 10.4 MB / 0.5867 GB, free: 7.301 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-05/0.4936, allocations: 47.59 kB / 0.5867 GB, free: 7.254 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003881/0.494, allocations: 163.8 kB / 0.5869 GB, free: 7.094 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002656/0.4966, allocations: 1.943 MB / 0.5888 GB, free: 5.148 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01617/0.5128, allocations: 8.612 MB / 0.5972 GB, free: 12.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04618/0.559, allocations: 40.44 MB / 0.6367 GB, free: 2.895 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008921/0.568, allocations: 3.827 MB / 0.6404 GB, free: 14.92 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002274/0.5703, allocations: 1.755 MB / 0.6422 GB, free: 13.16 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01168/0.582, allocations: 8.227 MB / 0.6502 GB, free: 4.496 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.5821, allocations: 59.48 kB / 0.6502 GB, free: 4.43 MB / 474.7 MB Notification: Performance of pre-optimization done (n=153): time 4.558e-06/0.5821, allocations: 0 / 0.6502 GB, free: 4.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=160): time 0.02866/0.6107, allocations: 13.1 MB / 0.663 GB, free: 7.156 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001243/0.612, allocations: 1.62 MB / 0.6646 GB, free: 5.363 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005138/0.6172, allocations: 3.975 MB / 0.6685 GB, free: 1.406 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003312/0.6175, allocations: 49.64 kB / 0.6685 GB, free: 1.352 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002378/0.6199, allocations: 3.202 MB / 0.6717 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00106/0.621, allocations: 0.652 MB / 0.6723 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002874/0.6213, allocations: 124 kB / 0.6724 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000383/0.6217, allocations: 0.5583 MB / 0.673 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003323/0.625, allocations: 2.163 MB / 0.6751 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005062/0.6301, allocations: 5.904 MB / 0.6808 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2095/0.8396, allocations: 8.675 MB / 0.6893 GB, free: 142.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001081/0.8398, allocations: 37.81 kB / 0.6894 GB, free: 142.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02108/0.8609, allocations: 9.246 MB / 0.6984 GB, free: 141 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.144e-05/0.861, allocations: 61.97 kB / 0.6984 GB, free: 141 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009258/0.8703, allocations: 3.542 MB / 0.7019 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008589/0.8789, allocations: 1.856 MB / 0.7037 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004234/0.8831, allocations: 1.397 MB / 0.7051 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006742/0.8899, allocations: 5.768 MB / 0.7107 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004757/0.8947, allocations: 419.6 kB / 0.7111 GB, free: 136 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00102/0.8957, allocations: 377.6 kB / 0.7115 GB, free: 136 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 39 (FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[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],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (750): * Single equations (assignments): 741 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004191/0.8999, allocations: 2.119 MB / 0.7135 GB, free: 135 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000732/0.9007, allocations: 332.6 kB / 0.7139 GB, free: 135 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005807/0.9065, allocations: 3.174 MB / 0.717 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004371/0.9109, allocations: 2.682 MB / 0.7196 GB, free: 133 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.687e-05/0.9109, allocations: 6.281 kB / 0.7196 GB, free: 133 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/0.9109, allocations: 7.266 kB / 0.7196 GB, free: 133 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01896/0.9299, allocations: 9.167 MB / 0.7285 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/0.9299, allocations: 1.031 kB / 0.7285 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/0.9312, allocations: 268.3 kB / 0.7288 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00306/0.9343, allocations: 1.039 MB / 0.7298 GB, free: 129.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001455/0.9344, allocations: 39.44 kB / 0.7299 GB, free: 129.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004932/0.9394, allocations: 5.019 MB / 0.7348 GB, free: 126.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008357/0.9402, allocations: 1.482 MB / 0.7362 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007768/0.948, allocations: 5.563 MB / 0.7416 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008998/0.9489, allocations: 408.9 kB / 0.742 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003415/0.9493, allocations: 42.14 kB / 0.7421 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/0.9507, allocations: 152.6 kB / 0.7422 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003862/0.9511, allocations: 97.38 kB / 0.7423 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.9512, allocations: 42.09 kB / 0.7423 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003178/0.9544, allocations: 2.461 MB / 0.7447 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.71e-07/0.9544, allocations: 0 / 0.7447 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004258/0.9586, allocations: 1.086 MB / 0.7458 GB, free: 121.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * 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 (126): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007026/0.9657, allocations: 6.228 MB / 0.7519 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008013/0.9737, allocations: 5.785 MB / 0.7575 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.9737, allocations: 0 / 0.7575 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003352/0.9771, allocations: 2.261 MB / 0.7597 GB, free: 110 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003487/0.9806, allocations: 425.7 kB / 0.7601 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05734/1.038, allocations: 36.2 MB / 0.7955 GB, free: 69.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003736/1.042, allocations: 3.298 MB / 0.7987 GB, free: 66.37 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002368/1.044, allocations: 1.944 MB / 0.8006 GB, free: 64.42 MB / 0.4948 GB Notification: Performance of SimCode: time 1.203e-06/1.044, allocations: 0 / 0.8006 GB, free: 64.42 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.794/8.838, allocations: 149.9 MB / 0.947 GB, free: 123.2 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Frames_AngularVelocity_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Frames_AngularVelocity.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Frames/AngularVelocity/AngularVelocity.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches