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) 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.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001297/0.001297, allocations: 109.1 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001317/0.001317, allocations: 205.8 kB / 18.26 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2196/0.2196, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002407/0.002407, allocations: 75.94 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.149, allocations: 62.43 MB / 479.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.3226/0.4716, allocations: 41.13 MB / 0.5085 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02177/0.4934, allocations: 8.656 MB / 0.517 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0092/0.5027, allocations: 169.6 kB / 0.5171 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004156/0.5068, allocations: 1.865 MB / 0.5189 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005004/0.5119, allocations: 1.763 MB / 0.5207 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.5135, allocations: 0.5222 MB / 0.5212 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007062/0.5205, allocations: 4.056 MB / 0.5251 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003686/0.5243, allocations: 2.992 MB / 0.5281 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002524/0.5268, allocations: 1.448 MB / 0.5295 GB, free: 5.387 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002747/0.5296, allocations: 2.198 MB / 0.5316 GB, free: 4.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006388/0.5302, allocations: 305.7 kB / 0.5319 GB, free: 4.473 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.5324, allocations: 1.018 MB / 0.5329 GB, free: 4.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001481/0.5339, allocations: 1.88 MB / 0.5347 GB, free: 3.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001804/0.5357, allocations: 2.257 MB / 0.537 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007889/0.5437, allocations: 7.016 MB / 0.5438 GB, free: 12.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.5437, allocations: 2.625 kB / 0.5438 GB, free: 12.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5437, allocations: 0 / 0.5438 GB, free: 12.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001955/0.5439, allocations: 0 / 0.5438 GB, free: 12.65 MB / 398.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.01132/0.5552, allocations: 4.894 MB / 0.5486 GB, free: 8.496 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.5553, allocations: 8.031 kB / 0.5486 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001313/0.5566, allocations: 0.8149 MB / 0.5494 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/0.5674, allocations: 3.152 MB / 0.5525 GB, free: 4.555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005243/0.5727, allocations: 2.369 MB / 0.5548 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/0.5729, allocations: 242.4 kB / 0.555 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008045/0.5737, allocations: 319 kB / 0.5553 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02093/0.5946, allocations: 12.08 MB / 0.5671 GB, free: 5.234 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001149/0.5948, allocations: 31.66 kB / 0.5671 GB, free: 5.203 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004716/0.5953, allocations: 151.7 kB / 0.5673 GB, free: 5.105 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004843/0.6001, allocations: 2.83 MB / 0.5701 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02387/0.624, allocations: 11.36 MB / 0.5811 GB, free: 6.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06217/0.6862, allocations: 41.28 MB / 0.6215 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01214/0.6984, allocations: 6.069 MB / 0.6274 GB, free: 6.566 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004034/0.7025, allocations: 3.011 MB / 0.6303 GB, free: 3.551 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001721/0.7042, allocations: 1.883 MB / 0.6322 GB, free: 1.348 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.7043, allocations: 56.56 kB / 0.6322 GB, free: 1.285 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 5.39e-06/0.7043, allocations: 0 / 0.6322 GB, free: 1.285 MB / 478.1 MB Notification: Performance of matching and sorting (n=283): time 0.04891/0.7532, allocations: 20.14 MB / 0.6519 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.7533, allocations: 73.41 kB / 0.652 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004354/0.7577, allocations: 3.027 MB / 0.6549 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004895/0.7582, allocations: 61.7 kB / 0.655 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001991/0.7602, allocations: 2.989 MB / 0.6579 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001277/0.7615, allocations: 1.025 MB / 0.6589 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001761/0.7633, allocations: 1.193 MB / 0.6601 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.7634, allocations: 305.1 kB / 0.6604 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004186/0.7676, allocations: 2.846 MB / 0.6631 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00657/0.7742, allocations: 6.018 MB / 0.669 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01304/0.7873, allocations: 9.657 MB / 0.6784 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001305/0.7874, allocations: 39.88 kB / 0.6785 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02099/0.8084, allocations: 10.01 MB / 0.6883 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.8086, allocations: 55.94 kB / 0.6883 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001941/0.8088, allocations: 112 kB / 0.6884 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003819/0.8126, allocations: 1.359 MB / 0.6897 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005096/0.8178, allocations: 1.369 MB / 0.6911 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/0.828, allocations: 7.819 MB / 0.6987 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004933/0.833, allocations: 375 kB / 0.6991 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001133/0.8342, allocations: 340 kB / 0.6994 GB, free: 9.055 MB / 0.545 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.005301/0.8395, allocations: 2.295 MB / 0.7016 GB, free: 6.746 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000905/0.8404, allocations: 300.1 kB / 0.7019 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2483/1.089, allocations: 6.623 MB / 0.7084 GB, free: 191.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001118/1.089, allocations: 51.03 kB / 0.7084 GB, free: 191.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/1.089, allocations: 4.375 kB / 0.7084 GB, free: 191.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.899e-05/1.089, allocations: 15.42 kB / 0.7085 GB, free: 191.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02685/1.116, allocations: 14.01 MB / 0.7221 GB, free: 187.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.997e-05/1.116, allocations: 7.469 kB / 0.7221 GB, free: 187.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002021/1.118, allocations: 453.5 kB / 0.7226 GB, free: 187.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003168/1.121, allocations: 1.216 MB / 0.7238 GB, free: 187.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003301/1.121, allocations: 54.41 kB / 0.7238 GB, free: 187.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008554/1.13, allocations: 6.973 MB / 0.7306 GB, free: 184.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/1.13, allocations: 16.08 kB / 0.7306 GB, free: 184.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/1.143, allocations: 9.859 MB / 0.7403 GB, free: 180.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/1.144, allocations: 353 kB / 0.7406 GB, free: 180.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004448/1.145, allocations: 43.34 kB / 0.7406 GB, free: 180.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/1.146, allocations: 199.3 kB / 0.7408 GB, free: 180.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004461/1.146, allocations: 162.2 kB / 0.741 GB, free: 180.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001912/1.147, allocations: 77.89 kB / 0.7411 GB, free: 180.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002803/1.149, allocations: 1.878 MB / 0.7429 GB, free: 179.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.01e-07/1.149, allocations: 0 / 0.7429 GB, free: 179.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00535/1.155, allocations: 1.101 MB / 0.744 GB, free: 179.7 MB / 0.545 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.01235/1.167, allocations: 10.52 MB / 0.7543 GB, free: 173.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01596/1.183, allocations: 11.99 MB / 0.766 GB, free: 161.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/1.183, allocations: 0 / 0.766 GB, free: 161.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003291/1.187, allocations: 2.856 MB / 0.7687 GB, free: 158.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/1.189, allocations: 431.8 kB / 0.7692 GB, free: 158.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06931/1.258, allocations: 54.97 MB / 0.8228 GB, free: 96.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003199/1.261, allocations: 3.574 MB / 0.8263 GB, free: 93.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004352/1.266, allocations: 2.196 MB / 0.8285 GB, free: 91.03 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002277/1.268, allocations: 2.069 MB / 0.8305 GB, free: 88.96 MB / 0.545 GB Notification: Performance of SimCode: time 1.123e-06/1.268, allocations: 3.938 kB / 0.8305 GB, free: 88.96 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/1.37, allocations: 73.08 MB / 0.9019 GB, free: 16.14 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/1.37, allocations: 211.9 kB / 0.9021 GB, free: 15.89 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.607/4.977, allocations: 0 / 0.9021 GB, free: 15.89 MB / 0.545 GB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches