Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001548/0.001548, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001866/0.001866, allocations: 198 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2226/0.2226, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 79.88 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3493, allocations: 62.42 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.0127/0.362, allocations: 11.95 MB / 0.5422 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009078/0.3711, allocations: 4.388 MB / 0.5465 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002152/0.3733, allocations: 70.81 kB / 0.5465 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005444/0.3788, allocations: 2.749 MB / 0.5492 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006237/0.3851, allocations: 1.999 MB / 0.5512 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002892/0.388, allocations: 1.01 MB / 0.5522 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01032/0.3983, allocations: 5.363 MB / 0.5574 GB, free: 6.172 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006822/0.4052, allocations: 3.44 MB / 0.5608 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00376/0.409, allocations: 1.74 MB / 0.5625 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00405/0.4131, allocations: 2.446 MB / 0.5648 GB, free: 14.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001434/0.4146, allocations: 364 kB / 0.5652 GB, free: 14.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003424/0.418, allocations: 1.4 MB / 0.5666 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002993/0.421, allocations: 2.197 MB / 0.5687 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004425/0.4255, allocations: 2.548 MB / 0.5712 GB, free: 7.961 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01132/0.4368, allocations: 8.191 MB / 0.5792 GB, free: 15.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.4369, allocations: 0 / 0.5792 GB, free: 15.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.4369, allocations: 0 / 0.5792 GB, free: 15.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000314/0.4372, allocations: 0 / 0.5792 GB, free: 15.74 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01732/0.4545, allocations: 5.874 MB / 0.5849 GB, free: 9.797 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.4546, allocations: 11.97 kB / 0.5849 GB, free: 9.785 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002213/0.4568, allocations: 0.8024 MB / 0.5857 GB, free: 8.973 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07917/0.536, allocations: 7.204 MB / 0.5928 GB, free: 1.754 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009123/0.5452, allocations: 3.604 MB / 0.5963 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000353/0.5456, allocations: 254.8 kB / 0.5965 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001622/0.5472, allocations: 351.7 kB / 0.5969 GB, free: 13.49 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02373/0.571, allocations: 12.29 MB / 0.6089 GB, free: 404 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002049/0.5712, allocations: 55.52 kB / 0.6089 GB, free: 348 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001048/0.5723, allocations: 163.8 kB / 0.6091 GB, free: 184 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004112/0.5764, allocations: 2.385 MB / 0.6114 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02185/0.5983, allocations: 10.7 MB / 0.6218 GB, free: 3.074 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06456/0.6629, allocations: 48.57 MB / 0.6693 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01565/0.6786, allocations: 5.853 MB / 0.675 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005883/0.6845, allocations: 3.111 MB / 0.678 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02714/0.7117, allocations: 13.01 MB / 0.6907 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.309e-05/0.7118, allocations: 55.88 kB / 0.6908 GB, free: 10.55 MB / 0.545 GB Notification: Performance of pre-optimization done (n=193): time 4.849e-06/0.7118, allocations: 0 / 0.6908 GB, free: 10.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=254): time 0.3863/1.098, allocations: 38.69 MB / 0.7286 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.696e-05/1.098, allocations: 208.5 kB / 0.7288 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005918/1.104, allocations: 4.382 MB / 0.733 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005763/1.105, allocations: 61.52 kB / 0.7331 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001842/1.107, allocations: 3.426 MB / 0.7364 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000999/1.108, allocations: 0.9419 MB / 0.7374 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001673/1.109, allocations: 1.373 MB / 0.7387 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.71e-05/1.109, allocations: 312 kB / 0.739 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003977/1.113, allocations: 3.116 MB / 0.742 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005509/1.119, allocations: 7.043 MB / 0.7489 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00938/1.128, allocations: 10.95 MB / 0.7596 GB, free: 136 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.788e-05/1.129, allocations: 40 kB / 0.7597 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02091/1.149, allocations: 12.66 MB / 0.772 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.581e-05/1.15, allocations: 64 kB / 0.7721 GB, free: 123.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001276/1.15, allocations: 140 kB / 0.7722 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007982/1.158, allocations: 3.248 MB / 0.7754 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004692/1.162, allocations: 1.532 MB / 0.7769 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01871/1.181, allocations: 16.59 MB / 0.7931 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005865/1.187, allocations: 435.3 kB / 0.7935 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001444/1.189, allocations: 408 kB / 0.7939 GB, free: 100.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (808): * Single equations (assignments): 804 * Array equations: 3 * 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 {(8,47,54.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005577/1.194, allocations: 2.349 MB / 0.7962 GB, free: 98.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001306/1.195, allocations: 410.7 kB / 0.7966 GB, free: 97.97 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/1.209, allocations: 7.515 MB / 0.8039 GB, free: 90.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.736e-05/1.209, allocations: 28.88 kB / 0.804 GB, free: 90.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.761e-05/1.209, allocations: 8 kB / 0.804 GB, free: 90.39 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.132e-05/1.209, allocations: 15.95 kB / 0.804 GB, free: 90.38 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02299/1.232, allocations: 15.04 MB / 0.8187 GB, free: 75.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.013e-05/1.232, allocations: 0 / 0.8187 GB, free: 75.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001852/1.234, allocations: 383.4 kB / 0.819 GB, free: 74.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007508/1.241, allocations: 2.923 MB / 0.8219 GB, free: 72.03 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000406/1.242, allocations: 40 kB / 0.8219 GB, free: 71.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01658/1.258, allocations: 14.81 MB / 0.8364 GB, free: 57.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.258, allocations: 7.938 kB / 0.8364 GB, free: 57.03 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01636/1.275, allocations: 11.48 MB / 0.8476 GB, free: 45.47 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/1.276, allocations: 447.7 kB / 0.848 GB, free: 45.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00085/1.277, allocations: 41.66 kB / 0.8481 GB, free: 44.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002093/1.279, allocations: 195.6 kB / 0.8483 GB, free: 44.78 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004969/1.279, allocations: 145.8 kB / 0.8484 GB, free: 44.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001806/1.279, allocations: 68 kB / 0.8485 GB, free: 44.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003412/1.283, allocations: 2.742 MB / 0.8511 GB, free: 41.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.11e-07/1.283, allocations: 3.938 kB / 0.8511 GB, free: 41.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005864/1.289, allocations: 1.294 MB / 0.8524 GB, free: 40.53 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (189): * Single equations (assignments): 185 * Array equations: 3 * 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 {(6,40,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01706/1.306, allocations: 12.15 MB / 0.8643 GB, free: 28.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01051/1.316, allocations: 7.857 MB / 0.8719 GB, free: 20.46 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.316, allocations: 0 / 0.8719 GB, free: 20.46 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004204/1.321, allocations: 3.132 MB / 0.875 GB, free: 17.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003464/1.324, allocations: 0.5181 MB / 0.8755 GB, free: 16.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1069/1.431, allocations: 60.52 MB / 0.9346 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00783/1.439, allocations: 3.677 MB / 0.9382 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.01021/1.449, allocations: 2.165 MB / 0.9403 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006152/1.455, allocations: 2.214 MB / 0.9425 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of SimCode: time 1.884e-06/1.456, allocations: 0 / 0.9425 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4339/1.889, allocations: 95.9 MB / 1.036 GB, free: 144.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.06/29.95, allocations: 5.734 kB / 1.036 GB, free: 144.9 MB / 0.6231 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches