Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008203/0.0008202, allocations: 97.41 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001044, allocations: 175.6 kB / 16.91 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.4 MB / 223.1 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3512/0.3512, allocations: 43.57 MB / 315 MB, free: 8.832 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005313/0.0005313, allocations: 16 kB / 384.7 MB, free: 7.531 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1331, allocations: 58.85 MB / 443.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.3231/0.4562, allocations: 66.78 MB / 0.4984 GB, free: 6.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03637/0.4926, allocations: 14.18 MB / 0.5122 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01644/0.5091, allocations: 303.8 kB / 0.5125 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002966/0.5121, allocations: 0.5974 MB / 0.5131 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009607/0.5217, allocations: 2.488 MB / 0.5155 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004498/0.5262, allocations: 1.271 MB / 0.5168 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01883/0.5451, allocations: 10.92 MB / 0.5274 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01387/0.559, allocations: 9.558 MB / 0.5368 GB, free: 176 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004534/0.5636, allocations: 2.004 MB / 0.5387 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005805/0.5694, allocations: 3.391 MB / 0.542 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001168/0.5706, allocations: 243.9 kB / 0.5423 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004358/0.575, allocations: 1.47 MB / 0.5437 GB, free: 9.047 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003955/0.579, allocations: 2.891 MB / 0.5465 GB, free: 6.148 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007401/0.5864, allocations: 3.27 MB / 0.5497 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01606/0.6025, allocations: 11.41 MB / 0.5608 GB, free: 7.402 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.6025, allocations: 0 / 0.5608 GB, free: 7.402 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.6025, allocations: 4 kB / 0.5608 GB, free: 7.398 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003986/0.6029, allocations: 0 / 0.5608 GB, free: 7.398 MB / 430.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.0187/0.6216, allocations: 6.791 MB / 0.5675 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.6217, allocations: 8.031 kB / 0.5675 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004155/0.6259, allocations: 1.156 MB / 0.5686 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05742/0.6833, allocations: 8.475 MB / 0.5769 GB, free: 6.859 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01645/0.6998, allocations: 6.565 MB / 0.5833 GB, free: 220 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005369/0.7004, allocations: 378.3 kB / 0.5837 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002569/0.703, allocations: 0.519 MB / 0.5842 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03309/0.7361, allocations: 15.45 MB / 0.5993 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002554/0.7364, allocations: 63.38 kB / 0.5993 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00089/0.7373, allocations: 239.8 kB / 0.5996 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004312/0.7416, allocations: 2.548 MB / 0.602 GB, free: 12.13 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02953/0.7712, allocations: 12.92 MB / 0.6147 GB, free: 15.19 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3782/1.149, allocations: 57.21 MB / 0.6705 GB, free: 95.86 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01738/1.167, allocations: 6.352 MB / 0.6767 GB, free: 94.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005726/1.173, allocations: 3.314 MB / 0.68 GB, free: 93.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01997/1.193, allocations: 11.3 MB / 0.691 GB, free: 87.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.213e-05/1.193, allocations: 64.22 kB / 0.6911 GB, free: 87.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=245): time 5.45e-06/1.193, allocations: 0 / 0.6911 GB, free: 87.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=338): time 0.1374/1.33, allocations: 40.18 MB / 0.7303 GB, free: 66.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/1.33, allocations: 246.6 kB / 0.7305 GB, free: 66.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007828/1.338, allocations: 5.79 MB / 0.7362 GB, free: 60.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008903/1.339, allocations: 81.7 kB / 0.7363 GB, free: 60.44 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002729/1.342, allocations: 4.46 MB / 0.7406 GB, free: 55.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001613/1.343, allocations: 1.23 MB / 0.7418 GB, free: 54.76 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008342/1.344, allocations: 0.6958 MB / 0.7425 GB, free: 54.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.908e-05/1.344, allocations: 305.1 kB / 0.7428 GB, free: 53.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004471/1.349, allocations: 3.768 MB / 0.7465 GB, free: 49.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006253/1.355, allocations: 8.297 MB / 0.7546 GB, free: 39.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01308/1.368, allocations: 13 MB / 0.7673 GB, free: 24.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001279/1.368, allocations: 47.98 kB / 0.7673 GB, free: 24.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=1067) (initialization): time 0.03112/1.399, allocations: 15.45 MB / 0.7824 GB, free: 9.004 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.232e-05/1.4, allocations: 76.17 kB / 0.7825 GB, free: 8.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000144/1.4, allocations: 164 kB / 0.7826 GB, free: 8.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01259/1.412, allocations: 4.096 MB / 0.7866 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00624/1.419, allocations: 1.801 MB / 0.7884 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03228/1.451, allocations: 19.61 MB / 0.8076 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007532/1.459, allocations: 499.2 kB / 0.808 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001373/1.46, allocations: 472 kB / 0.8085 GB, free: 14.18 MB / 0.5137 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.005885/1.466, allocations: 3.125 MB / 0.8115 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001374/1.467, allocations: 0.5245 MB / 0.812 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02069/1.488, allocations: 9.62 MB / 0.8214 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.07e-05/1.488, allocations: 32 kB / 0.8215 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-05/1.488, allocations: 16 kB / 0.8215 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.731e-05/1.488, allocations: 19.94 kB / 0.8215 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2863/1.774, allocations: 19.73 MB / 0.8408 GB, free: 150.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.655e-05/1.775, allocations: 10.16 kB / 0.8408 GB, free: 150.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002643/1.777, allocations: 497 kB / 0.8413 GB, free: 150.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01323/1.79, allocations: 3.66 MB / 0.8448 GB, free: 150 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000892/1.791, allocations: 62.67 kB / 0.8449 GB, free: 149.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03058/1.822, allocations: 17.15 MB / 0.8616 GB, free: 142.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-05/1.822, allocations: 11.5 kB / 0.8617 GB, free: 142.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02777/1.85, allocations: 14.22 MB / 0.8755 GB, free: 137.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003779/1.854, allocations: 1.144 MB / 0.8767 GB, free: 136.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001129/1.855, allocations: 65.81 kB / 0.8767 GB, free: 136.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003026/1.858, allocations: 226.6 kB / 0.8769 GB, free: 136.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008702/1.859, allocations: 223.8 kB / 0.8772 GB, free: 136.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002655/1.859, allocations: 90.81 kB / 0.8772 GB, free: 136.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006193/1.865, allocations: 3.68 MB / 0.8808 GB, free: 135.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/1.865, allocations: 0 / 0.8808 GB, free: 135.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008809/1.874, allocations: 1.707 MB / 0.8825 GB, free: 135.3 MB / 0.5137 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.02458/1.899, allocations: 14.96 MB / 0.8971 GB, free: 124.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01321/1.912, allocations: 9.22 MB / 0.9061 GB, free: 115.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/1.912, allocations: 4 kB / 0.9061 GB, free: 115.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004636/1.917, allocations: 3.639 MB / 0.9097 GB, free: 111.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01043/1.927, allocations: 0.7336 MB / 0.9104 GB, free: 111.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1468/2.074, allocations: 96.76 MB / 1.005 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007148/2.081, allocations: 4.842 MB / 1.01 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007541/2.089, allocations: 2.599 MB / 1.012 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00578/2.094, allocations: 3.073 MB / 1.015 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of SimCode: time 1.022e-06/2.094, allocations: 0 / 1.015 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4034/2.498, allocations: 128.3 MB / 1.14 GB, free: 86.39 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001404/2.498, allocations: 224.9 kB / 1.141 GB, free: 86.13 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.017/7.515, allocations: 3.938 kB / 1.141 GB, free: 86.12 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointUSP_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointUSP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches