Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001973/0.001973, allocations: 115.6 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002238/0.002238, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.511/1.511, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2263/0.2263, allocations: 44.91 MB / 358.8 MB, free: 6.273 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003041/0.003041, allocations: 67.89 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3037, allocations: 65.47 MB / 0.557 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.0156/0.3193, allocations: 13.34 MB / 0.5701 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009983/0.3293, allocations: 4.899 MB / 0.5748 GB, free: 5.434 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002028/0.3313, allocations: 95.56 kB / 0.5749 GB, free: 5.34 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007679/0.339, allocations: 4.046 MB / 0.5789 GB, free: 1.281 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00605/0.3451, allocations: 2.237 MB / 0.5811 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002952/0.348, allocations: 1.185 MB / 0.5822 GB, free: 13.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009014/0.357, allocations: 5.825 MB / 0.5879 GB, free: 8.016 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005678/0.3627, allocations: 4.029 MB / 0.5919 GB, free: 3.918 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003615/0.3663, allocations: 2.204 MB / 0.594 GB, free: 1.707 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00511/0.3714, allocations: 3.19 MB / 0.5971 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001501/0.3729, allocations: 0.5 MB / 0.5976 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003603/0.3765, allocations: 1.689 MB / 0.5993 GB, free: 12.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003531/0.3801, allocations: 2.727 MB / 0.6019 GB, free: 9.582 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004459/0.3845, allocations: 3.077 MB / 0.6049 GB, free: 6.488 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01367/0.3982, allocations: 10.11 MB / 0.6148 GB, free: 12.34 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.3982, allocations: 0 / 0.6148 GB, free: 12.34 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3982, allocations: 0 / 0.6148 GB, free: 12.34 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003307/0.3985, allocations: 0 / 0.6148 GB, free: 12.34 MB / 462.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.01895/0.4175, allocations: 6.734 MB / 0.6214 GB, free: 5.531 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.4175, allocations: 12.03 kB / 0.6214 GB, free: 5.52 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002751/0.4203, allocations: 0.9177 MB / 0.6223 GB, free: 4.59 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08495/0.5052, allocations: 7.437 MB / 0.6295 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01036/0.5156, allocations: 4.068 MB / 0.6335 GB, free: 9.016 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004429/0.5161, allocations: 375.7 kB / 0.6339 GB, free: 8.633 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001701/0.5178, allocations: 443.6 kB / 0.6343 GB, free: 8.199 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02662/0.5444, allocations: 13.77 MB / 0.6477 GB, free: 9.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001557/0.5445, allocations: 51.58 kB / 0.6478 GB, free: 9.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006217/0.5452, allocations: 199.8 kB / 0.648 GB, free: 9.324 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003907/0.5491, allocations: 2.414 MB / 0.6503 GB, free: 6.906 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02533/0.5744, allocations: 11.63 MB / 0.6617 GB, free: 11.26 MB / 0.4981 GB 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.07195/0.6463, allocations: 51 MB / 0.7115 GB, free: 6.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01269/0.659, allocations: 4.043 MB / 0.7155 GB, free: 2.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004149/0.6632, allocations: 2.592 MB / 0.718 GB, free: 76 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02007/0.6833, allocations: 10.3 MB / 0.728 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.01e-05/0.6833, allocations: 51.88 kB / 0.7281 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=191): time 4.649e-06/0.6833, allocations: 0 / 0.7281 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of matching and sorting (n=242): time 0.4008/1.084, allocations: 42.26 MB / 0.7694 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.162e-05/1.084, allocations: 235.6 kB / 0.7696 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006075/1.09, allocations: 4.805 MB / 0.7743 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005512/1.091, allocations: 57.7 kB / 0.7743 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001994/1.093, allocations: 4.055 MB / 0.7783 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001031/1.094, allocations: 0.9524 MB / 0.7792 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00204/1.096, allocations: 1.472 MB / 0.7807 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.853e-05/1.096, allocations: 301.1 kB / 0.7809 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004699/1.101, allocations: 3.262 MB / 0.7841 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007257/1.108, allocations: 7.552 MB / 0.7915 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01055/1.118, allocations: 11.6 MB / 0.8028 GB, free: 98.15 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001107/1.119, allocations: 44 kB / 0.8029 GB, free: 98.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02705/1.146, allocations: 13.84 MB / 0.8164 GB, free: 84.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001226/1.146, allocations: 72 kB / 0.8165 GB, free: 84.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002276/1.146, allocations: 148 kB / 0.8166 GB, free: 84.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01082/1.157, allocations: 3.775 MB / 0.8203 GB, free: 80.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004909/1.162, allocations: 1.599 MB / 0.8218 GB, free: 78.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02465/1.186, allocations: 19.06 MB / 0.8405 GB, free: 59.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005967/1.192, allocations: 455.5 kB / 0.8409 GB, free: 59.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001257/1.194, allocations: 436 kB / 0.8413 GB, free: 58.61 MB / 0.5606 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.005748/1.199, allocations: 2.657 MB / 0.8439 GB, free: 55.94 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00117/1.2, allocations: 455.1 kB / 0.8443 GB, free: 55.49 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01675/1.217, allocations: 8.102 MB / 0.8523 GB, free: 47.36 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-05/1.217, allocations: 24 kB / 0.8523 GB, free: 47.34 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.291e-05/1.217, allocations: 12 kB / 0.8523 GB, free: 47.33 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.796e-05/1.217, allocations: 11.97 kB / 0.8523 GB, free: 47.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03242/1.25, allocations: 17.24 MB / 0.8691 GB, free: 30.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.134e-05/1.25, allocations: 0 / 0.8691 GB, free: 30.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002095/1.252, allocations: 391.4 kB / 0.8695 GB, free: 29.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01055/1.263, allocations: 3.839 MB / 0.8733 GB, free: 25.83 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005102/1.263, allocations: 43.98 kB / 0.8733 GB, free: 25.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02142/1.284, allocations: 17.42 MB / 0.8903 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.284, allocations: 1.172 kB / 0.8903 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02267/1.307, allocations: 12.53 MB / 0.9025 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001751/1.309, allocations: 408.8 kB / 0.9029 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001633/1.311, allocations: 36 kB / 0.903 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003084/1.314, allocations: 211.7 kB / 0.9032 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007865/1.314, allocations: 158.1 kB / 0.9033 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002583/1.315, allocations: 59.59 kB / 0.9034 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00585/1.32, allocations: 2.998 MB / 0.9063 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.91e-07/1.32, allocations: 0 / 0.9063 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006798/1.327, allocations: 1.426 MB / 0.9077 GB, free: 6.41 MB / 0.5762 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.02708/1.354, allocations: 13.25 MB / 0.9206 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01535/1.37, allocations: 7.587 MB / 0.928 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.37, allocations: 0 / 0.928 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005248/1.375, allocations: 2.728 MB / 0.9307 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004254/1.379, allocations: 0.5299 MB / 0.9312 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3707/1.75, allocations: 66.04 MB / 0.9957 GB, free: 206 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006133/1.756, allocations: 4.091 MB / 0.9997 GB, free: 204.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005279/1.761, allocations: 2.177 MB / 1.002 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00376/1.765, allocations: 2.475 MB / 1.004 GB, free: 202.3 MB / 0.6387 GB Notification: Performance of SimCode: time 1.733e-06/1.765, allocations: 3.906 kB / 1.004 GB, free: 202.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1527/1.918, allocations: 109.8 MB / 1.111 GB, free: 94.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.43/36.34, allocations: 12.05 kB / 1.111 GB, free: 94.48 MB / 0.6387 GB " [Timeout remaining time 623] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 39.743742109996674]