Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00128/0.00128, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001429/0.001429, allocations: 207.5 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 230.5 MB / 258.2 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2343/0.2343, allocations: 46.93 MB / 361.6 MB, free: 4.168 MB / 286.1 MB " [Timeout remaining time 180] 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.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002445/0.002445, allocations: 71.89 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3772, allocations: 66.08 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01861/0.3958, allocations: 13.53 MB / 0.5747 GB, free: 6.711 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.4071, allocations: 4.262 MB / 0.5789 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002904/0.41, allocations: 87.62 kB / 0.579 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004756/0.4148, allocations: 1.997 MB / 0.5809 GB, free: 356 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006261/0.421, allocations: 1.95 MB / 0.5828 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.4231, allocations: 0.5576 MB / 0.5834 GB, free: 13.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007865/0.4309, allocations: 4.044 MB / 0.5873 GB, free: 9.781 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005829/0.4368, allocations: 2.416 MB / 0.5897 GB, free: 7.309 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003803/0.4406, allocations: 1.475 MB / 0.5911 GB, free: 5.828 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004487/0.445, allocations: 2.204 MB / 0.5933 GB, free: 3.617 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001294/0.4463, allocations: 304 kB / 0.5935 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002973/0.4493, allocations: 1.045 MB / 0.5946 GB, free: 2.273 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003507/0.4528, allocations: 1.893 MB / 0.5964 GB, free: 384 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00517/0.458, allocations: 2.244 MB / 0.5986 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01278/0.4708, allocations: 7.321 MB / 0.6058 GB, free: 6.766 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.4708, allocations: 0 / 0.6058 GB, free: 6.766 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.4708, allocations: 0 / 0.6058 GB, free: 6.766 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003652/0.4712, allocations: 3.938 kB / 0.6058 GB, free: 6.762 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.01598/0.4871, allocations: 4.941 MB / 0.6106 GB, free: 1.762 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.4872, allocations: 12.03 kB / 0.6106 GB, free: 1.75 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001946/0.4874, allocations: 114.2 kB / 0.6107 GB, free: 1.637 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002268/0.4896, allocations: 0.8196 MB / 0.6115 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/0.5015, allocations: 3.168 MB / 0.6146 GB, free: 13.63 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006144/0.5076, allocations: 2.351 MB / 0.6169 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003684/0.508, allocations: 246 kB / 0.6171 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001495/0.5095, allocations: 303.8 kB / 0.6174 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02349/0.533, allocations: 12.09 MB / 0.6292 GB, free: 14.08 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001584/0.5332, allocations: 31.7 kB / 0.6293 GB, free: 14.05 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001113/0.5343, allocations: 143.8 kB / 0.6294 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005408/0.5397, allocations: 2.835 MB / 0.6322 GB, free: 11.07 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02445/0.5641, allocations: 11.36 MB / 0.6433 GB, free: 15.69 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0658/0.6299, allocations: 40.97 MB / 0.6833 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01214/0.6421, allocations: 4.905 MB / 0.6881 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004295/0.6464, allocations: 2.767 MB / 0.6908 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0013/0.6477, allocations: 0.5634 MB / 0.6913 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.418e-05/0.6477, allocations: 56.5 kB / 0.6914 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=262): time 7.113e-06/0.6477, allocations: 0 / 0.6914 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=283): time 0.0522/0.6999, allocations: 19.98 MB / 0.7109 GB, free: 9.277 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/0.7, allocations: 77.41 kB / 0.711 GB, free: 9.191 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0067/0.7067, allocations: 3.032 MB / 0.7139 GB, free: 6.141 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007576/0.7075, allocations: 65.69 kB / 0.714 GB, free: 6.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00324/0.7107, allocations: 3.104 MB / 0.717 GB, free: 2.938 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001888/0.7126, allocations: 1.077 MB / 0.7181 GB, free: 1.852 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003234/0.7158, allocations: 1.195 MB / 0.7192 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.716, allocations: 305.1 kB / 0.7195 GB, free: 352 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005011/0.721, allocations: 2.85 MB / 0.7223 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00863/0.7296, allocations: 6.025 MB / 0.7282 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2836/1.013, allocations: 9.655 MB / 0.7376 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.875e-05/1.013, allocations: 31.31 kB / 0.7376 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.01674/1.03, allocations: 10.02 MB / 0.7474 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.003e-05/1.03, allocations: 50.34 kB / 0.7475 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001268/1.03, allocations: 111.3 kB / 0.7476 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003206/1.033, allocations: 1.365 MB / 0.7489 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004377/1.038, allocations: 1.365 MB / 0.7503 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008038/1.046, allocations: 7.711 MB / 0.7578 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004301/1.05, allocations: 356.2 kB / 0.7581 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000608/1.051, allocations: 346.9 kB / 0.7585 GB, free: 139 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.003107/1.054, allocations: 2.298 MB / 0.7607 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004542/1.054, allocations: 321.8 kB / 0.761 GB, free: 137 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008875/1.063, allocations: 6.613 MB / 0.7675 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.967e-05/1.063, allocations: 51.94 kB / 0.7675 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/1.063, allocations: 4 kB / 0.7675 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.865e-05/1.063, allocations: 11.95 kB / 0.7675 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0178/1.081, allocations: 13.83 MB / 0.781 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/1.081, allocations: 8.906 kB / 0.781 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001818/1.083, allocations: 455.3 kB / 0.7815 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002897/1.086, allocations: 1.212 MB / 0.7827 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002276/1.086, allocations: 59.92 kB / 0.7827 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006843/1.093, allocations: 6.912 MB / 0.7895 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/1.093, allocations: 15.11 kB / 0.7895 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/1.104, allocations: 9.864 MB / 0.7991 GB, free: 97.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006643/1.105, allocations: 288.1 kB / 0.7994 GB, free: 97.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004078/1.105, allocations: 51.81 kB / 0.7994 GB, free: 97.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/1.107, allocations: 203.6 kB / 0.7996 GB, free: 97.19 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004228/1.107, allocations: 169.5 kB / 0.7998 GB, free: 97.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001844/1.107, allocations: 69.08 kB / 0.7999 GB, free: 96.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00234/1.11, allocations: 1.881 MB / 0.8017 GB, free: 95.08 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.11, allocations: 0 / 0.8017 GB, free: 95.08 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004797/1.114, allocations: 1.106 MB / 0.8028 GB, free: 93.98 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.01239/1.127, allocations: 10.53 MB / 0.8131 GB, free: 83.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009508/1.136, allocations: 6.681 MB / 0.8196 GB, free: 76.61 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/1.136, allocations: 0 / 0.8196 GB, free: 76.61 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003652/1.14, allocations: 2.654 MB / 0.8222 GB, free: 73.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002513/1.142, allocations: 426.1 kB / 0.8226 GB, free: 73.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06324/1.206, allocations: 49.09 MB / 0.8705 GB, free: 19.45 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004374/1.21, allocations: 3.574 MB / 0.874 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004363/1.214, allocations: 2.196 MB / 0.8762 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00291/1.217, allocations: 2.069 MB / 0.8782 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of SimCode: time 1.442e-06/1.217, allocations: 0 / 0.8782 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1463/1.364, allocations: 75.68 MB / 0.9521 GB, free: 192 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.15/26.51, allocations: 4.062 kB / 0.9521 GB, free: 188 kB / 0.6231 GB " [Timeout remaining time 633] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 30.45098812901415]