Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001448/0.001448, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001495/0.001495, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2335/0.2335, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002373/0.002373, allocations: 79.88 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3129, allocations: 62.44 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01484/0.3278, allocations: 12.28 MB / 0.5426 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008818/0.3366, allocations: 3.932 MB / 0.5465 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002286/0.339, allocations: 61.41 kB / 0.5465 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00311/0.3421, allocations: 1.313 MB / 0.5478 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004759/0.3469, allocations: 1.721 MB / 0.5495 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.3483, allocations: 0.4912 MB / 0.55 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005056/0.3534, allocations: 3.608 MB / 0.5535 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002634/0.356, allocations: 2.005 MB / 0.5554 GB, free: 8.164 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001712/0.3578, allocations: 1.187 MB / 0.5566 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002412/0.3602, allocations: 1.709 MB / 0.5583 GB, free: 5.258 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005465/0.3608, allocations: 240 kB / 0.5585 GB, free: 5.023 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.3627, allocations: 0.9322 MB / 0.5594 GB, free: 4.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00164/0.3644, allocations: 1.578 MB / 0.5609 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002341/0.3667, allocations: 1.882 MB / 0.5628 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007506/0.3742, allocations: 6.204 MB / 0.5688 GB, free: 10.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3743, allocations: 0 / 0.5688 GB, free: 10.38 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3743, allocations: 0 / 0.5688 GB, free: 10.38 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001512/0.3745, allocations: 0 / 0.5688 GB, free: 10.38 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.008377/0.3828, allocations: 4.257 MB / 0.573 GB, free: 6.051 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.3829, allocations: 11.97 kB / 0.573 GB, free: 6.039 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00114/0.384, allocations: 0.716 MB / 0.5737 GB, free: 5.312 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/0.3953, allocations: 3.11 MB / 0.5767 GB, free: 2.195 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004587/0.3999, allocations: 2.092 MB / 0.5788 GB, free: 56 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002228/0.4002, allocations: 193.1 kB / 0.579 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009064/0.4011, allocations: 251.7 kB / 0.5792 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01993/0.4211, allocations: 10.48 MB / 0.5895 GB, free: 4.699 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001088/0.4212, allocations: 23.81 kB / 0.5895 GB, free: 4.676 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00064/0.4219, allocations: 123.8 kB / 0.5896 GB, free: 4.555 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004761/0.4267, allocations: 2.553 MB / 0.5921 GB, free: 1.996 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02008/0.4468, allocations: 9.915 MB / 0.6018 GB, free: 8.07 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0529/0.4997, allocations: 34.35 MB / 0.6353 GB, free: 4.898 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0103/0.5101, allocations: 5.178 MB / 0.6404 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00352/0.5136, allocations: 2.298 MB / 0.6426 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001979/0.5156, allocations: 1.881 MB / 0.6445 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.4e-05/0.5157, allocations: 56.56 kB / 0.6445 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 7.224e-06/0.5157, allocations: 0 / 0.6445 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03698/0.5527, allocations: 14.06 MB / 0.6582 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.922e-05/0.5529, allocations: 73.41 kB / 0.6583 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004919/0.5578, allocations: 2.64 MB / 0.6609 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004414/0.5583, allocations: 49.7 kB / 0.6609 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002269/0.5606, allocations: 2.749 MB / 0.6636 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001281/0.5619, allocations: 0.8912 MB / 0.6645 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002328/0.5642, allocations: 1.045 MB / 0.6655 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5644, allocations: 305.1 kB / 0.6658 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003797/0.5682, allocations: 2.2 MB / 0.6679 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006834/0.575, allocations: 5.055 MB / 0.6729 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01136/0.5864, allocations: 7.953 MB / 0.6806 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.633e-05/0.5866, allocations: 32 kB / 0.6807 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01613/0.6027, allocations: 7.884 MB / 0.6884 GB, free: 11.03 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.6029, allocations: 48 kB / 0.6884 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000161/0.603, allocations: 96.91 kB / 0.6885 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002472/0.6055, allocations: 0.7966 MB / 0.6893 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00415/0.6097, allocations: 1.181 MB / 0.6904 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006593/0.6163, allocations: 4.512 MB / 0.6949 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003282/0.6196, allocations: 291.8 kB / 0.6951 GB, free: 3.969 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008116/0.6205, allocations: 308 kB / 0.6954 GB, free: 3.668 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (631): * Single equations (assignments): 624 * Array equations: 6 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004148/0.6246, allocations: 2.016 MB / 0.6974 GB, free: 1.641 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006016/0.6252, allocations: 274.1 kB / 0.6977 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009281/0.6345, allocations: 4.721 MB / 0.7023 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.58e-05/0.6346, allocations: 47.81 kB / 0.7023 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/0.6347, allocations: 7.938 kB / 0.7023 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.542e-05/0.6347, allocations: 11.95 kB / 0.7023 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02082/0.6555, allocations: 10.5 MB / 0.7126 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-05/0.6556, allocations: 8.906 kB / 0.7126 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001752/0.6574, allocations: 367.3 kB / 0.7129 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00223/0.6596, allocations: 0.656 MB / 0.7136 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003997/0.6601, allocations: 43.98 kB / 0.7136 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005695/0.6658, allocations: 3.899 MB / 0.7174 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.289e-05/0.6658, allocations: 11.94 kB / 0.7174 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01271/0.6785, allocations: 7.157 MB / 0.7244 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006865/0.6793, allocations: 323.2 kB / 0.7247 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007035/0.68, allocations: 40 kB / 0.7248 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001604/0.6816, allocations: 135.8 kB / 0.7249 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005151/0.6821, allocations: 137 kB / 0.725 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002893/0.6825, allocations: 71.98 kB / 0.7251 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003011/0.6855, allocations: 1.623 MB / 0.7267 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.31e-07/0.6855, allocations: 0 / 0.7267 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004372/0.6899, allocations: 0.9062 MB / 0.7276 GB, free: 2.242 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (178): * Single equations (assignments): 171 * Array equations: 6 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2881/0.978, allocations: 7.794 MB / 0.7352 GB, free: 176.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007499/0.9856, allocations: 5.383 MB / 0.7404 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/0.9856, allocations: 0 / 0.7404 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002538/0.9882, allocations: 2.027 MB / 0.7424 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/0.9901, allocations: 361.8 kB / 0.7428 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04655/1.037, allocations: 39.68 MB / 0.7815 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003382/1.04, allocations: 3.159 MB / 0.7846 GB, free: 135.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00353/1.044, allocations: 1.969 MB / 0.7865 GB, free: 133.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002202/1.046, allocations: 1.706 MB / 0.7882 GB, free: 131.6 MB / 0.5762 GB Notification: Performance of SimCode: time 2.565e-06/1.046, allocations: 0 / 0.7882 GB, free: 131.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1043/1.15, allocations: 54.42 MB / 0.8413 GB, free: 77.46 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.39/23.54, allocations: 10.44 kB / 0.8414 GB, free: 77.45 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches