Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.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.001805/0.001805, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.002101/0.002101, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.562/1.562, allocations: 230.5 MB / 254 MB, free: 15.16 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.2491/0.2491, allocations: 46.92 MB / 357 MB, free: 10.19 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.JointUSP2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 75.88 kB / 0.491 GB, free: 7.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1518, allocations: 66.05 MB / 0.5555 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01716/0.169, allocations: 13.3 MB / 0.5685 GB, free: 8.145 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.1808, allocations: 4.876 MB / 0.5732 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003956/0.1847, allocations: 95.56 kB / 0.5733 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008386/0.1931, allocations: 4.018 MB / 0.5772 GB, free: 15.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00723/0.2004, allocations: 2.237 MB / 0.5794 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003267/0.2036, allocations: 1.178 MB / 0.5806 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009941/0.2136, allocations: 5.824 MB / 0.5863 GB, free: 5.871 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006431/0.22, allocations: 4.327 MB / 0.5905 GB, free: 1.477 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3326/0.5526, allocations: 2.202 MB / 0.5926 GB, free: 8.852 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005453/0.558, allocations: 3.185 MB / 0.5958 GB, free: 8.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002313/0.5603, allocations: 0.4995 MB / 0.5962 GB, free: 8.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004867/0.5652, allocations: 1.691 MB / 0.5979 GB, free: 8.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005187/0.5704, allocations: 2.721 MB / 0.6006 GB, free: 8.531 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007928/0.5783, allocations: 3.073 MB / 0.6036 GB, free: 7.512 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01678/0.5951, allocations: 10.11 MB / 0.6134 GB, free: 5.562 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.5951, allocations: 0 / 0.6134 GB, free: 5.562 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5951, allocations: 0 / 0.6134 GB, free: 5.562 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004729/0.5956, allocations: 4.594 kB / 0.6134 GB, free: 5.562 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.02665/0.6222, allocations: 6.808 MB / 0.6201 GB, free: 1.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.6223, allocations: 9.125 kB / 0.6201 GB, free: 1.84 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003605/0.6259, allocations: 0.9163 MB / 0.621 GB, free: 1.246 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09386/0.7197, allocations: 7.439 MB / 0.6282 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01122/0.731, allocations: 4.165 MB / 0.6323 GB, free: 11.9 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004024/0.7314, allocations: 354.6 kB / 0.6326 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002388/0.7338, allocations: 432.2 kB / 0.6331 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03329/0.7671, allocations: 13.78 MB / 0.6465 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001916/0.7672, allocations: 53.09 kB / 0.6466 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001147/0.7684, allocations: 204.6 kB / 0.6468 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004216/0.7726, allocations: 2.406 MB / 0.6491 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02929/0.8019, allocations: 11.61 MB / 0.6605 GB, free: 1.289 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0826/0.8845, allocations: 51.16 MB / 0.7104 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01411/0.8986, allocations: 4.503 MB / 0.7148 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004338/0.903, allocations: 2.587 MB / 0.7173 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02264/0.9256, allocations: 12.44 MB / 0.7295 GB, free: 9.223 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.601e-05/0.9257, allocations: 59.86 kB / 0.7295 GB, free: 9.156 MB / 0.545 GB Notification: Performance of pre-optimization done (n=191): time 6.512e-06/0.9257, allocations: 0 / 0.7295 GB, free: 9.156 MB / 0.545 GB Notification: Performance of matching and sorting (n=242): time 0.1767/1.102, allocations: 42.55 MB / 0.7711 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002025/1.103, allocations: 234.7 kB / 0.7713 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01413/1.117, allocations: 4.802 MB / 0.776 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.00101/1.118, allocations: 65.73 kB / 0.7761 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00526/1.123, allocations: 4.052 MB / 0.78 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002288/1.125, allocations: 0.9597 MB / 0.781 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006056/1.131, allocations: 1.469 MB / 0.7824 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000159/1.132, allocations: 305.1 kB / 0.7827 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006926/1.138, allocations: 3.258 MB / 0.7859 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01216/1.151, allocations: 7.548 MB / 0.7932 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01837/1.169, allocations: 11.61 MB / 0.8046 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001636/1.169, allocations: 44 kB / 0.8046 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.03798/1.207, allocations: 13.83 MB / 0.8181 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002344/1.207, allocations: 78.02 kB / 0.8182 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003177/1.208, allocations: 152 kB / 0.8184 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01342/1.221, allocations: 3.767 MB / 0.822 GB, free: 6.691 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006173/1.227, allocations: 1.602 MB / 0.8236 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03363/1.261, allocations: 19.17 MB / 0.8423 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006553/1.267, allocations: 451.4 kB / 0.8428 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001644/1.269, allocations: 428 kB / 0.8432 GB, free: 0.9062 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (857): * Single equations (assignments): 853 * 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 {(2,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.3112/1.58, allocations: 2.654 MB / 0.8458 GB, free: 228.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001307/1.582, allocations: 454.5 kB / 0.8462 GB, free: 228.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0207/1.602, allocations: 8.097 MB / 0.8541 GB, free: 228.4 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.85e-05/1.602, allocations: 27.03 kB / 0.8541 GB, free: 228.4 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.277e-05/1.602, allocations: 11.31 kB / 0.8541 GB, free: 228.4 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.977e-05/1.602, allocations: 15.58 kB / 0.8541 GB, free: 228.4 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04096/1.643, allocations: 17.27 MB / 0.871 GB, free: 222.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.877e-05/1.643, allocations: 0 / 0.871 GB, free: 222.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001972/1.645, allocations: 396.2 kB / 0.8714 GB, free: 222.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01124/1.657, allocations: 3.83 MB / 0.8751 GB, free: 221.9 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006767/1.657, allocations: 47.52 kB / 0.8752 GB, free: 221.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02174/1.679, allocations: 17.53 MB / 0.8923 GB, free: 211.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/1.679, allocations: 3.938 kB / 0.8923 GB, free: 211.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02079/1.7, allocations: 12.53 MB / 0.9045 GB, free: 198.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001658/1.702, allocations: 485.8 kB / 0.905 GB, free: 198.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008726/1.702, allocations: 43.94 kB / 0.905 GB, free: 198.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002387/1.705, allocations: 201.3 kB / 0.9052 GB, free: 198.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006265/1.705, allocations: 150.2 kB / 0.9054 GB, free: 198.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001987/1.706, allocations: 67.03 kB / 0.9054 GB, free: 198.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004417/1.71, allocations: 2.995 MB / 0.9084 GB, free: 195.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/1.71, allocations: 0 / 0.9084 GB, free: 195.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.006914/1.717, allocations: 1.419 MB / 0.9097 GB, free: 193.7 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * 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 (167): * Single equations (assignments): 163 * 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 {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02014/1.737, allocations: 13.23 MB / 0.9227 GB, free: 180.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.009773/1.747, allocations: 7.59 MB / 0.9301 GB, free: 172.9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/1.747, allocations: 0 / 0.9301 GB, free: 172.9 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003284/1.75, allocations: 2.738 MB / 0.9328 GB, free: 170.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003337/1.753, allocations: 0.54 MB / 0.9333 GB, free: 169.6 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1019/1.855, allocations: 65.93 MB / 0.9977 GB, free: 97.22 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004326/1.86, allocations: 4.088 MB / 1.002 GB, free: 93.11 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004228/1.864, allocations: 2.183 MB / 1.004 GB, free: 90.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002862/1.867, allocations: 2.476 MB / 1.006 GB, free: 88.45 MB / 0.6544 GB Notification: Performance of SimCode: time 1.042e-06/1.867, allocations: 4 kB / 1.006 GB, free: 88.45 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4552/2.322, allocations: 103.4 MB / 1.107 GB, free: 224.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.65/34.97, allocations: 18.06 kB / 1.107 GB, free: 224.8 MB / 0.6544 GB " [Timeout remaining time 625] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079952 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,revolute.phi,revolute.w Variables in the result:time,revolute.phi,revolute.w [Calling sys.exit(0), Time elapsed: 38.51268748100847]