Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.001342/0.001342, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001621/0.001621, allocations: 208.9 kB / 23.73 MB, free: 4.523 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.522/1.522, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2992/0.2992, allocations: 46.97 MB / 360.9 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 71.83 kB / 0.4961 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3471, allocations: 66.02 MB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01807/0.3651, allocations: 13.91 MB / 0.5742 GB, free: 6.266 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01289/0.378, allocations: 5.215 MB / 0.5793 GB, free: 1.039 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003701/0.3817, allocations: 135.3 kB / 0.5794 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01053/0.3923, allocations: 4.973 MB / 0.5842 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007513/0.3998, allocations: 2.692 MB / 0.5869 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003666/0.4034, allocations: 1.396 MB / 0.5882 GB, free: 7.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01342/0.4169, allocations: 8.255 MB / 0.5963 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008618/0.4255, allocations: 5.209 MB / 0.6014 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006744/0.4322, allocations: 2.812 MB / 0.6041 GB, free: 7.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007082/0.4393, allocations: 4.031 MB / 0.6081 GB, free: 3.387 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002222/0.4415, allocations: 0.6328 MB / 0.6087 GB, free: 2.754 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004616/0.4461, allocations: 1.682 MB / 0.6103 GB, free: 1.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00517/0.4513, allocations: 3.444 MB / 0.6137 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00735/0.4587, allocations: 2.879 MB / 0.6165 GB, free: 10.72 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01806/0.4767, allocations: 12.24 MB / 0.6284 GB, free: 14.43 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.4767, allocations: 0 / 0.6284 GB, free: 14.43 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.123e-06/0.4767, allocations: 0 / 0.6284 GB, free: 14.43 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004321/0.4772, allocations: 4 kB / 0.6285 GB, free: 14.43 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.02492/0.5021, allocations: 8.298 MB / 0.6366 GB, free: 6.055 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/0.5021, allocations: 12.03 kB / 0.6366 GB, free: 6.043 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003716/0.5059, allocations: 1.152 MB / 0.6377 GB, free: 4.879 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05457/0.5604, allocations: 8.406 MB / 0.6459 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01654/0.577, allocations: 5.82 MB / 0.6516 GB, free: 6.551 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004402/0.5774, allocations: 390 kB / 0.652 GB, free: 6.168 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002282/0.5797, allocations: 0.5114 MB / 0.6525 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03529/0.615, allocations: 15.54 MB / 0.6676 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003197/0.6153, allocations: 75.41 kB / 0.6677 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001543/0.6169, allocations: 231.8 kB / 0.6679 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004319/0.6212, allocations: 2.548 MB / 0.6704 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02909/0.6503, allocations: 12.86 MB / 0.683 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3768/1.027, allocations: 53.67 MB / 0.7354 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01642/1.043, allocations: 5.637 MB / 0.7409 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003675/1.047, allocations: 3.116 MB / 0.7439 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01824/1.065, allocations: 9.05 MB / 0.7528 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.744e-05/1.065, allocations: 62.56 kB / 0.7528 GB, free: 137 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=245): time 8.095e-06/1.065, allocations: 0 / 0.7528 GB, free: 137 MB / 0.5606 GB Notification: Performance of matching and sorting (n=338): time 0.1276/1.193, allocations: 39.54 MB / 0.7914 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.713e-05/1.193, allocations: 243.9 kB / 0.7917 GB, free: 104.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007436/1.201, allocations: 6.006 MB / 0.7975 GB, free: 98.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008408/1.201, allocations: 77.7 kB / 0.7976 GB, free: 98.33 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002567/1.204, allocations: 4.622 MB / 0.8021 GB, free: 93.95 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001594/1.206, allocations: 1.288 MB / 0.8034 GB, free: 92.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002324/1.208, allocations: 1.64 MB / 0.805 GB, free: 91.03 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.745e-05/1.208, allocations: 305.1 kB / 0.8053 GB, free: 90.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004538/1.213, allocations: 3.772 MB / 0.809 GB, free: 86.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006834/1.219, allocations: 8.383 MB / 0.8171 GB, free: 76.38 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01274/1.232, allocations: 13.02 MB / 0.8299 GB, free: 61.19 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001375/1.232, allocations: 48 kB / 0.8299 GB, free: 61.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1067) (initialization): time 0.03085/1.263, allocations: 15.44 MB / 0.845 GB, free: 45.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.94e-05/1.263, allocations: 75.98 kB / 0.845 GB, free: 45.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001634/1.263, allocations: 156.5 kB / 0.8452 GB, free: 45.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01242/1.276, allocations: 4.086 MB / 0.8492 GB, free: 41.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005643/1.281, allocations: 1.805 MB / 0.8509 GB, free: 39.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02604/1.307, allocations: 20.58 MB / 0.871 GB, free: 18.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007977/1.315, allocations: 0.4916 MB / 0.8715 GB, free: 18.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001637/1.317, allocations: 471.2 kB / 0.872 GB, free: 17.89 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 717 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.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],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (966): * Single equations (assignments): 962 * 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 {(1,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005709/1.323, allocations: 3.111 MB / 0.875 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001259/1.324, allocations: 0.5549 MB / 0.8756 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01852/1.343, allocations: 9.56 MB / 0.8849 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.244e-05/1.343, allocations: 36 kB / 0.8849 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-05/1.343, allocations: 12 kB / 0.8849 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.308e-05/1.343, allocations: 23.92 kB / 0.885 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0459/1.389, allocations: 18.72 MB / 0.9032 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.624e-05/1.389, allocations: 4 kB / 0.9032 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002695/1.391, allocations: 499.3 kB / 0.9037 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01381/1.405, allocations: 3.65 MB / 0.9073 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009088/1.406, allocations: 67.88 kB / 0.9073 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03014/1.436, allocations: 18.13 MB / 0.9251 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-05/1.436, allocations: 8 kB / 0.9251 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03056/1.467, allocations: 14.19 MB / 0.9389 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001991/1.469, allocations: 0.5157 MB / 0.9394 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001804/1.471, allocations: 63.98 kB / 0.9395 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003836/1.474, allocations: 227.7 kB / 0.9397 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001387/1.476, allocations: 234.1 kB / 0.9399 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003983/1.476, allocations: 99.88 kB / 0.94 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.007814/1.484, allocations: 3.643 MB / 0.9436 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/1.484, allocations: 0 / 0.9436 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.009529/1.494, allocations: 1.68 MB / 0.9452 GB, free: 6.375 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (256): * Single equations (assignments): 252 * 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 {(1,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0316/1.525, allocations: 14.94 MB / 0.9598 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01635/1.541, allocations: 8.83 MB / 0.9684 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/1.541, allocations: 0 / 0.9684 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006282/1.548, allocations: 3.322 MB / 0.9717 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00685/1.555, allocations: 0.7646 MB / 0.9724 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4436/1.998, allocations: 78.62 MB / 1.049 GB, free: 173.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008026/2.006, allocations: 4.334 MB / 1.053 GB, free: 168.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006003/2.012, allocations: 2.596 MB / 1.056 GB, free: 166.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00462/2.017, allocations: 3.061 MB / 1.059 GB, free: 163.4 MB / 0.6544 GB Notification: Performance of SimCode: time 1.453e-06/2.017, allocations: 0 / 1.059 GB, free: 163.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1784/2.195, allocations: 130.8 MB / 1.187 GB, free: 33.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.8/22, allocations: 7.5 kB / 1.187 GB, free: 33.5 MB / 0.6544 GB " [Timeout remaining time 638] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_FourbarVariants_JointUSP_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_FourbarVariants_JointUSP.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 26.444083427020814]