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.001217/0.001217, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001372/0.001372, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2075/0.2075, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.00137, allocations: 82.22 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09829/0.09967, allocations: 62.44 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01383/0.1135, allocations: 13.46 MB / 493.6 MB, free: 7.688 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008019/0.1216, allocations: 4.221 MB / 497.8 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002003/0.1236, allocations: 67.88 kB / 497.9 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003925/0.1276, allocations: 1.954 MB / 499.8 MB, free: 1.426 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004514/0.1322, allocations: 1.879 MB / 0.4899 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.1335, allocations: 0.5498 MB / 0.4905 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004641/0.1381, allocations: 4.048 MB / 0.4944 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00378/0.1419, allocations: 2.862 MB / 0.4972 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002312/0.1442, allocations: 1.433 MB / 0.4986 GB, free: 6.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002693/0.1469, allocations: 2.017 MB / 0.5006 GB, free: 4.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007825/0.1477, allocations: 304 kB / 0.5009 GB, free: 4.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00204/0.1498, allocations: 1.006 MB / 0.5019 GB, free: 3.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001684/0.1515, allocations: 1.847 MB / 0.5037 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2134/0.3649, allocations: 2.24 MB / 0.5059 GB, free: 16.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00815/0.3731, allocations: 6.978 MB / 0.5127 GB, free: 16.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3731, allocations: 0 / 0.5127 GB, free: 16.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3731, allocations: 0 / 0.5127 GB, free: 16.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002223/0.3734, allocations: 1.094 kB / 0.5127 GB, free: 16.11 MB / 382.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.01113/0.3845, allocations: 4.898 MB / 0.5175 GB, free: 14.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3845, allocations: 9.625 kB / 0.5175 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001673/0.3862, allocations: 0.8154 MB / 0.5183 GB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01134/0.3976, allocations: 3.144 MB / 0.5213 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005512/0.4031, allocations: 2.375 MB / 0.5237 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/0.4033, allocations: 242 kB / 0.5239 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001116/0.4045, allocations: 305.6 kB / 0.5242 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01931/0.4238, allocations: 12.08 MB / 0.536 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.084e-05/0.4239, allocations: 37.16 kB / 0.536 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004275/0.4243, allocations: 144.8 kB / 0.5361 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004019/0.4284, allocations: 2.835 MB / 0.5389 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01904/0.4474, allocations: 11.36 MB / 0.55 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06072/0.5082, allocations: 41.27 MB / 0.5903 GB, free: 3.211 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01216/0.5204, allocations: 6.082 MB / 0.5962 GB, free: 12.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004003/0.5244, allocations: 3.005 MB / 0.5992 GB, free: 9.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001618/0.5261, allocations: 1.889 MB / 0.601 GB, free: 7.699 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.5261, allocations: 52.56 kB / 0.6011 GB, free: 7.641 MB / 446.1 MB Notification: Performance of pre-optimization done (n=262): time 5.5e-06/0.5262, allocations: 0 / 0.6011 GB, free: 7.641 MB / 446.1 MB Notification: Performance of matching and sorting (n=283): time 0.0509/0.5771, allocations: 20.13 MB / 0.6207 GB, free: 3.387 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.5772, allocations: 84.69 kB / 0.6208 GB, free: 3.293 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005451/0.5826, allocations: 3.027 MB / 0.6238 GB, free: 252 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004586/0.5831, allocations: 65.7 kB / 0.6238 GB, free: 180 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001961/0.5851, allocations: 2.99 MB / 0.6268 GB, free: 13.18 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001314/0.5864, allocations: 1.017 MB / 0.6278 GB, free: 12.18 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002422/0.5888, allocations: 1.194 MB / 0.6289 GB, free: 10.97 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.621e-05/0.5889, allocations: 301.1 kB / 0.6292 GB, free: 10.68 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004298/0.5932, allocations: 2.85 MB / 0.632 GB, free: 7.82 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006356/0.5996, allocations: 6.014 MB / 0.6379 GB, free: 328 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01205/0.6117, allocations: 9.657 MB / 0.6473 GB, free: 5.566 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001048/0.6118, allocations: 32 kB / 0.6473 GB, free: 5.535 MB / 494.1 MB Notification: Performance of matching and sorting (n=788) (initialization): time 0.01943/0.6313, allocations: 10.02 MB / 0.6571 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.325e-05/0.6314, allocations: 52 kB / 0.6572 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001492/0.6315, allocations: 112.8 kB / 0.6573 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003686/0.6352, allocations: 1.369 MB / 0.6586 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004983/0.6402, allocations: 1.369 MB / 0.6599 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/0.6505, allocations: 7.816 MB / 0.6676 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004559/0.6551, allocations: 362.2 kB / 0.6679 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001262/0.6564, allocations: 344 kB / 0.6682 GB, free: 412 kB / 0.4981 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.00506/0.6615, allocations: 2.294 MB / 0.6705 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000786/0.6623, allocations: 304.1 kB / 0.6708 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01202/0.6743, allocations: 6.639 MB / 0.6773 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.34e-05/0.6744, allocations: 51.2 kB / 0.6773 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.378e-05/0.6745, allocations: 4.75 kB / 0.6773 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.325e-05/0.6745, allocations: 15.95 kB / 0.6773 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02639/0.7009, allocations: 14.01 MB / 0.691 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.15e-05/0.701, allocations: 12.03 kB / 0.691 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002428/0.7034, allocations: 451.3 kB / 0.6914 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003549/0.707, allocations: 1.209 MB / 0.6926 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005202/0.7075, allocations: 51.94 kB / 0.6927 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009173/0.7167, allocations: 6.979 MB / 0.6995 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.7167, allocations: 11.94 kB / 0.6995 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01563/0.7324, allocations: 9.862 MB / 0.7091 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008489/0.7332, allocations: 349.2 kB / 0.7095 GB, free: 5.656 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009362/0.7342, allocations: 54.64 kB / 0.7095 GB, free: 5.605 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00214/0.7363, allocations: 187.7 kB / 0.7097 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006445/0.737, allocations: 165.8 kB / 0.7099 GB, free: 5.262 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003373/0.7374, allocations: 78.41 kB / 0.7099 GB, free: 5.188 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004473/0.7418, allocations: 1.874 MB / 0.7118 GB, free: 3.312 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.462e-06/0.7419, allocations: 4 kB / 0.7118 GB, free: 3.309 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005963/0.7478, allocations: 1.102 MB / 0.7128 GB, free: 2.207 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.2477/0.9955, allocations: 10.52 MB / 0.7231 GB, free: 194.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01954/1.015, allocations: 11.98 MB / 0.7348 GB, free: 192.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/1.015, allocations: 0 / 0.7348 GB, free: 192.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00418/1.019, allocations: 2.86 MB / 0.7376 GB, free: 191.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003582/1.023, allocations: 429.5 kB / 0.738 GB, free: 190.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06677/1.09, allocations: 52.72 MB / 0.7895 GB, free: 137 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004411/1.094, allocations: 3.574 MB / 0.793 GB, free: 133.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004767/1.099, allocations: 2.2 MB / 0.7951 GB, free: 131.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002881/1.102, allocations: 2.069 MB / 0.7972 GB, free: 129.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.252e-06/1.102, allocations: 0 / 0.7972 GB, free: 129.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09754/1.199, allocations: 73.17 MB / 0.8686 GB, free: 56.11 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.6, allocations: 0.8906 kB / 0.8686 GB, free: 56.11 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