Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.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.001453/0.001453, allocations: 115.6 kB / 20.43 MB, free: 1.465 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.001616/0.001616, allocations: 212 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.572/1.572, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2392/0.2392, allocations: 46.93 MB / 360.9 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Universal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 63.91 kB / 0.4962 GB, free: 7.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3466, allocations: 66.04 MB / 0.5607 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01664/0.3632, allocations: 13.53 MB / 0.5739 GB, free: 6.867 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01082/0.374, allocations: 4.258 MB / 0.578 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002203/0.3762, allocations: 79.69 kB / 0.5781 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004637/0.3809, allocations: 1.993 MB / 0.58 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005337/0.3862, allocations: 1.961 MB / 0.582 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.3879, allocations: 0.5498 MB / 0.5825 GB, free: 14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006795/0.3947, allocations: 4.05 MB / 0.5865 GB, free: 9.941 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004605/0.3993, allocations: 2.427 MB / 0.5888 GB, free: 7.457 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003298/0.4026, allocations: 1.46 MB / 0.5903 GB, free: 5.992 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004236/0.4068, allocations: 2.204 MB / 0.5924 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001244/0.4081, allocations: 304 kB / 0.5927 GB, free: 3.484 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003235/0.4113, allocations: 1.049 MB / 0.5937 GB, free: 2.434 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003165/0.4145, allocations: 1.901 MB / 0.5956 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003946/0.4184, allocations: 2.232 MB / 0.5978 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01156/0.43, allocations: 7.325 MB / 0.6049 GB, free: 6.926 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.43, allocations: 4 kB / 0.6049 GB, free: 6.922 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.43, allocations: 0 / 0.6049 GB, free: 6.922 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003261/0.4303, allocations: 0 / 0.6049 GB, free: 6.922 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01719/0.4475, allocations: 4.945 MB / 0.6097 GB, free: 1.918 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.498e-05/0.4476, allocations: 12.03 kB / 0.6098 GB, free: 1.906 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003161/0.4507, allocations: 0.8157 MB / 0.6105 GB, free: 1.082 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.012/0.4627, allocations: 3.176 MB / 0.6137 GB, free: 13.9 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007418/0.4702, allocations: 2.335 MB / 0.6159 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000359/0.4705, allocations: 246.2 kB / 0.6162 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002065/0.4726, allocations: 307.7 kB / 0.6165 GB, free: 10.99 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02764/0.5002, allocations: 12.08 MB / 0.6283 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002333/0.5005, allocations: 35.75 kB / 0.6283 GB, free: 14.33 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001556/0.502, allocations: 147.8 kB / 0.6284 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005726/0.5077, allocations: 2.835 MB / 0.6312 GB, free: 11.34 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0278/0.5355, allocations: 11.35 MB / 0.6423 GB, free: 15.97 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0719/0.6075, allocations: 40.97 MB / 0.6823 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01252/0.62, allocations: 4.917 MB / 0.6871 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004801/0.6248, allocations: 2.763 MB / 0.6898 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001392/0.6262, allocations: 0.5634 MB / 0.6904 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.205e-05/0.6262, allocations: 48.56 kB / 0.6904 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=262): time 6.532e-06/0.6262, allocations: 0 / 0.6904 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=283): time 0.05448/0.6807, allocations: 19.99 MB / 0.7099 GB, free: 9.555 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.6808, allocations: 73.41 kB / 0.71 GB, free: 9.473 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005445/0.6862, allocations: 3.036 MB / 0.713 GB, free: 6.418 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004459/0.6867, allocations: 61.7 kB / 0.713 GB, free: 6.352 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002914/0.6896, allocations: 3.108 MB / 0.7161 GB, free: 3.215 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001469/0.6911, allocations: 1.077 MB / 0.7171 GB, free: 2.129 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002428/0.6935, allocations: 1.188 MB / 0.7183 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.6936, allocations: 317 kB / 0.7186 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005198/0.6988, allocations: 2.842 MB / 0.7213 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008798/0.7076, allocations: 6.014 MB / 0.7272 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2707/0.9783, allocations: 9.66 MB / 0.7367 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.157e-05/0.9784, allocations: 35.38 kB / 0.7367 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.01526/0.9937, allocations: 10.03 MB / 0.7465 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.643e-05/0.9937, allocations: 50.75 kB / 0.7465 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001126/0.9938, allocations: 110.9 kB / 0.7466 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003077/0.9969, allocations: 1.364 MB / 0.748 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004197/1.001, allocations: 1.368 MB / 0.7493 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008536/1.01, allocations: 7.7 MB / 0.7568 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003995/1.014, allocations: 368.6 kB / 0.7572 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006653/1.014, allocations: 335.5 kB / 0.7575 GB, free: 138.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.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 (718): * Single equations (assignments): 711 * 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 {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003258/1.018, allocations: 2.3 MB / 0.7597 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004801/1.018, allocations: 322.5 kB / 0.76 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009091/1.027, allocations: 6.607 MB / 0.7665 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-05/1.027, allocations: 55.77 kB / 0.7666 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/1.027, allocations: 4 kB / 0.7666 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.997e-05/1.027, allocations: 15.95 kB / 0.7666 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01915/1.046, allocations: 13.84 MB / 0.7801 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/1.046, allocations: 4 kB / 0.7801 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001862/1.048, allocations: 455.3 kB / 0.7805 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002827/1.051, allocations: 1.215 MB / 0.7817 GB, free: 115 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000221/1.051, allocations: 54.91 kB / 0.7818 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006866/1.058, allocations: 6.912 MB / 0.7885 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.058, allocations: 11.94 kB / 0.7885 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/1.07, allocations: 9.868 MB / 0.7982 GB, free: 98.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007345/1.07, allocations: 287.5 kB / 0.7984 GB, free: 97.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004907/1.071, allocations: 57.95 kB / 0.7985 GB, free: 97.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/1.072, allocations: 195.7 kB / 0.7987 GB, free: 97.49 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003918/1.073, allocations: 173 kB / 0.7988 GB, free: 97.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001804/1.073, allocations: 81.08 kB / 0.7989 GB, free: 97.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002238/1.075, allocations: 1.874 MB / 0.8008 GB, free: 95.37 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.075, allocations: 0 / 0.8008 GB, free: 95.37 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004041/1.079, allocations: 1.098 MB / 0.8018 GB, free: 94.28 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (218): * Single equations (assignments): 211 * 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 {(4,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01166/1.091, allocations: 10.53 MB / 0.8121 GB, free: 83.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008426/1.099, allocations: 6.675 MB / 0.8186 GB, free: 76.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/1.099, allocations: 0 / 0.8186 GB, free: 76.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003437/1.103, allocations: 2.66 MB / 0.8212 GB, free: 74.24 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/1.105, allocations: 426.6 kB / 0.8216 GB, free: 73.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07014/1.175, allocations: 49.1 MB / 0.8696 GB, free: 19.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003322/1.179, allocations: 3.571 MB / 0.8731 GB, free: 16.14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004024/1.183, allocations: 2.203 MB / 0.8752 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002362/1.185, allocations: 2.065 MB / 0.8772 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of SimCode: time 1.392e-06/1.185, allocations: 0 / 0.8772 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.149/1.334, allocations: 75.65 MB / 0.9511 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.88/26.21, allocations: 6.281 kB / 0.9511 GB, free: 0.6367 MB / 0.6231 GB " [Timeout remaining time 634] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.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.76351600396447]