Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 104.9 kB / 20.48 MB, free: 1.348 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 218.7 kB / 23.79 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 207.6 MB / 234.6 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.212/0.212, allocations: 44.25 MB / 331.1 MB, free: 9.613 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 76.38 kB / 468.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1219, allocations: 61.05 MB / 0.5169 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01433/0.1362, allocations: 12.76 MB / 0.5294 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008297/0.1445, allocations: 4.004 MB / 0.5333 GB, free: 6.516 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/0.1461, allocations: 71.75 kB / 0.5334 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00271/0.1488, allocations: 1.354 MB / 0.5347 GB, free: 5.086 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004184/0.153, allocations: 1.841 MB / 0.5365 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.1543, allocations: 491 kB / 0.5369 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2352/0.3895, allocations: 3.657 MB / 0.5405 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002966/0.3925, allocations: 1.876 MB / 0.5424 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002641/0.3951, allocations: 1.263 MB / 0.5436 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003763/0.3989, allocations: 1.922 MB / 0.5455 GB, free: 9.934 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001035/0.3999, allocations: 242.6 kB / 0.5457 GB, free: 9.934 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002569/0.4025, allocations: 0.9758 MB / 0.5466 GB, free: 9.934 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002506/0.405, allocations: 1.678 MB / 0.5483 GB, free: 9.707 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003793/0.4088, allocations: 1.951 MB / 0.5502 GB, free: 8.949 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.4188, allocations: 6.403 MB / 0.5564 GB, free: 7.422 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4188, allocations: 1.125 kB / 0.5564 GB, free: 7.422 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4188, allocations: 0 / 0.5564 GB, free: 7.422 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.00027/0.4191, allocations: 0 / 0.5564 GB, free: 7.422 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.01357/0.4326, allocations: 4.299 MB / 0.5606 GB, free: 5.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.4327, allocations: 9.531 kB / 0.5607 GB, free: 5.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002271/0.4329, allocations: 93.81 kB / 0.5607 GB, free: 5.012 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002088/0.435, allocations: 0.7308 MB / 0.5615 GB, free: 4.695 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.4462, allocations: 3.113 MB / 0.5645 GB, free: 4.152 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005275/0.4515, allocations: 2.311 MB / 0.5668 GB, free: 2.961 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/0.4517, allocations: 201.2 kB / 0.5669 GB, free: 2.906 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009585/0.4526, allocations: 260.8 kB / 0.5672 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01923/0.4718, allocations: 10.69 MB / 0.5776 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001172/0.472, allocations: 28.27 kB / 0.5777 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005836/0.4725, allocations: 125.6 kB / 0.5778 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004677/0.4772, allocations: 2.645 MB / 0.5804 GB, free: 12.08 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02091/0.4981, allocations: 10.02 MB / 0.5901 GB, free: 4.492 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05749/0.5556, allocations: 35.02 MB / 0.6243 GB, free: 1.188 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009774/0.5654, allocations: 4.067 MB / 0.6283 GB, free: 13.13 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003325/0.5687, allocations: 2.111 MB / 0.6304 GB, free: 11.02 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/0.5699, allocations: 0.5437 MB / 0.6309 GB, free: 10.49 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.104e-05/0.57, allocations: 60.55 kB / 0.631 GB, free: 10.42 MB / 478.1 MB Notification: Performance of pre-optimization done (n=229): time 5.149e-06/0.57, allocations: 0 / 0.631 GB, free: 10.42 MB / 478.1 MB Notification: Performance of matching and sorting (n=235): time 0.0371/0.6071, allocations: 13.98 MB / 0.6446 GB, free: 12.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/0.6071, allocations: 76.88 kB / 0.6447 GB, free: 12.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004927/0.6121, allocations: 2.697 MB / 0.6473 GB, free: 9.664 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004501/0.6125, allocations: 61.38 kB / 0.6474 GB, free: 9.602 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00224/0.6148, allocations: 2.814 MB / 0.6501 GB, free: 6.793 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001292/0.6161, allocations: 0.8916 MB / 0.651 GB, free: 5.914 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002437/0.6185, allocations: 1.056 MB / 0.652 GB, free: 4.852 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6186, allocations: 305.1 kB / 0.6523 GB, free: 4.551 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00388/0.6225, allocations: 2.208 MB / 0.6545 GB, free: 2.332 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006593/0.6291, allocations: 5.126 MB / 0.6595 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/0.6403, allocations: 8.046 MB / 0.6673 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.259e-05/0.6404, allocations: 35.94 kB / 0.6674 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01661/0.657, allocations: 7.932 MB / 0.6751 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.6571, allocations: 48 kB / 0.6752 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001657/0.6573, allocations: 106.1 kB / 0.6753 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002489/0.6598, allocations: 0.7972 MB / 0.676 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004488/0.6643, allocations: 1.201 MB / 0.6772 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006664/0.671, allocations: 4.412 MB / 0.6815 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004357/0.6753, allocations: 291.8 kB / 0.6818 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001416/0.6767, allocations: 310.9 kB / 0.6821 GB, free: 3.441 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (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 (640): * Single equations (assignments): 633 * 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.006187/0.6829, allocations: 2.056 MB / 0.6841 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009897/0.6839, allocations: 282.1 kB / 0.6844 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/0.6941, allocations: 4.722 MB / 0.689 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-05/0.6942, allocations: 40 kB / 0.689 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-05/0.6942, allocations: 12.8 kB / 0.689 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.301e-05/0.6943, allocations: 7.969 kB / 0.689 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02335/0.7176, allocations: 10.56 MB / 0.6994 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.488e-05/0.7176, allocations: 8 kB / 0.6994 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001721/0.7194, allocations: 367.3 kB / 0.6997 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002245/0.7216, allocations: 0.6548 MB / 0.7004 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004326/0.722, allocations: 47.03 kB / 0.7004 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00565/0.7277, allocations: 3.811 MB / 0.7041 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/0.7277, allocations: 8 kB / 0.7041 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01311/0.7408, allocations: 7.157 MB / 0.7111 GB, free: 5.359 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002048/0.7429, allocations: 0.5839 MB / 0.7117 GB, free: 4.773 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008879/0.7437, allocations: 39.98 kB / 0.7117 GB, free: 4.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/0.7455, allocations: 139.8 kB / 0.7119 GB, free: 4.598 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005328/0.7461, allocations: 144.9 kB / 0.712 GB, free: 4.457 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002629/0.7463, allocations: 63.28 kB / 0.7121 GB, free: 4.398 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003609/0.7499, allocations: 1.656 MB / 0.7137 GB, free: 2.734 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7499, allocations: 4 kB / 0.7137 GB, free: 2.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005936/0.7559, allocations: 0.9374 MB / 0.7146 GB, free: 1.793 MB / 0.545 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.01396/0.7698, allocations: 7.801 MB / 0.7222 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01012/0.78, allocations: 5.174 MB / 0.7273 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/0.78, allocations: 0 / 0.7273 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003384/0.7834, allocations: 1.871 MB / 0.7291 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00285/0.7862, allocations: 353.3 kB / 0.7294 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07553/0.8617, allocations: 40.41 MB / 0.7689 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005222/0.867, allocations: 3.236 MB / 0.772 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004366/0.8713, allocations: 1.973 MB / 0.774 GB, free: 420 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2179/1.089, allocations: 1.766 MB / 0.7757 GB, free: 216 MB / 0.6075 GB Notification: Performance of SimCode: time 1.663e-06/1.089, allocations: 2.656 kB / 0.7757 GB, free: 216 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09821/1.187, allocations: 59.8 MB / 0.8341 GB, free: 183.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.33/25.52, allocations: 11.84 kB / 0.8341 GB, free: 183.5 MB / 0.6075 GB " [Timeout remaining time 634] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 29.362788019003347]