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.001622/0.001622, allocations: 103.8 kB / 16.4 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.625/1.625, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2323/0.2323, allocations: 43.53 MB / 314.1 MB, free: 440 kB / 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.002097/0.002097, allocations: 78.02 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1389, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01948/0.1584, allocations: 16.05 MB / 0.5031 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01439/0.1729, allocations: 5.457 MB / 0.5084 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003953/0.1769, allocations: 111.6 kB / 0.5085 GB, free: 6.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01065/0.1876, allocations: 5.136 MB / 0.5135 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008813/0.1965, allocations: 2.634 MB / 0.5161 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004432/0.2009, allocations: 1.388 MB / 0.5174 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01471/0.2157, allocations: 7.592 MB / 0.5249 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2867/0.5025, allocations: 7.046 MB / 0.5317 GB, free: 8.648 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005934/0.5084, allocations: 2.779 MB / 0.5345 GB, free: 8.547 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006539/0.515, allocations: 3.751 MB / 0.5381 GB, free: 8.203 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002116/0.5171, allocations: 0.6341 MB / 0.5387 GB, free: 8.203 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004386/0.5215, allocations: 1.777 MB / 0.5405 GB, free: 8.203 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005424/0.527, allocations: 3.351 MB / 0.5437 GB, free: 7.898 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009656/0.5367, allocations: 3.823 MB / 0.5475 GB, free: 6.672 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02257/0.5593, allocations: 12.28 MB / 0.5595 GB, free: 2.691 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.5593, allocations: 0 / 0.5595 GB, free: 2.691 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5593, allocations: 0 / 0.5595 GB, free: 2.691 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006096/0.56, allocations: 1.406 kB / 0.5595 GB, free: 2.691 MB / 414.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.02963/0.5896, allocations: 8.437 MB / 0.5677 GB, free: 13.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.275e-05/0.5897, allocations: 13.52 kB / 0.5677 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004735/0.5944, allocations: 1.162 MB / 0.5689 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05699/0.6514, allocations: 8.409 MB / 0.5771 GB, free: 8.297 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01657/0.668, allocations: 6.696 MB / 0.5836 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003624/0.6684, allocations: 384.5 kB / 0.584 GB, free: 2.793 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002229/0.6707, allocations: 0.5166 MB / 0.5845 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03523/0.7059, allocations: 15.4 MB / 0.5995 GB, free: 2.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003346/0.7063, allocations: 70.33 kB / 0.5996 GB, free: 2.227 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001657/0.708, allocations: 231.2 kB / 0.5998 GB, free: 2.043 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004394/0.7124, allocations: 2.549 MB / 0.6023 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03094/0.7433, allocations: 12.88 MB / 0.6149 GB, free: 2.867 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09649/0.8399, allocations: 57.07 MB / 0.6706 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01883/0.8587, allocations: 6.315 MB / 0.6768 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00544/0.8642, allocations: 3.317 MB / 0.68 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02123/0.8855, allocations: 11.31 MB / 0.691 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.23e-05/0.8856, allocations: 60.31 kB / 0.6911 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=245): time 7.173e-06/0.8856, allocations: 0 / 0.6911 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=338): time 0.1509/1.037, allocations: 40.43 MB / 0.7306 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001962/1.037, allocations: 243.8 kB / 0.7308 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01221/1.049, allocations: 5.802 MB / 0.7365 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001058/1.05, allocations: 77.7 kB / 0.7366 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.005079/1.055, allocations: 4.621 MB / 0.7411 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002464/1.058, allocations: 1.299 MB / 0.7423 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003858/1.062, allocations: 1.64 MB / 0.7439 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.062, allocations: 301.1 kB / 0.7442 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006904/1.069, allocations: 3.772 MB / 0.7479 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3161/1.385, allocations: 8.29 MB / 0.756 GB, free: 197.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01873/1.404, allocations: 13 MB / 0.7687 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001728/1.404, allocations: 44.78 kB / 0.7687 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1067) (initialization): time 0.0374/1.441, allocations: 15.48 MB / 0.7839 GB, free: 185 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/1.441, allocations: 69.78 kB / 0.7839 GB, free: 185 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001967/1.442, allocations: 159.4 kB / 0.7841 GB, free: 185 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0133/1.455, allocations: 4.1 MB / 0.7881 GB, free: 184.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006494/1.461, allocations: 1.797 MB / 0.7898 GB, free: 184 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02864/1.49, allocations: 20.94 MB / 0.8103 GB, free: 171.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008333/1.498, allocations: 0.4914 MB / 0.8108 GB, free: 171 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002108/1.501, allocations: 471.5 kB / 0.8112 GB, free: 170.6 MB / 0.5919 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.00668/1.507, allocations: 3.124 MB / 0.8143 GB, free: 167.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001311/1.509, allocations: 0.5546 MB / 0.8148 GB, free: 167.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01976/1.528, allocations: 9.614 MB / 0.8242 GB, free: 159.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.76e-05/1.528, allocations: 36 kB / 0.8242 GB, free: 159.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.277e-05/1.528, allocations: 16 kB / 0.8243 GB, free: 159.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.472e-05/1.529, allocations: 15.94 kB / 0.8243 GB, free: 159.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03476/1.563, allocations: 19.64 MB / 0.8434 GB, free: 139.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.831e-05/1.563, allocations: 10.41 kB / 0.8435 GB, free: 139.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002363/1.566, allocations: 499.3 kB / 0.8439 GB, free: 139.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0114/1.577, allocations: 3.65 MB / 0.8475 GB, free: 135.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007989/1.578, allocations: 60 kB / 0.8476 GB, free: 135.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02177/1.6, allocations: 18.44 MB / 0.8656 GB, free: 117.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.852e-06/1.6, allocations: 16 kB / 0.8656 GB, free: 117.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02304/1.623, allocations: 14.23 MB / 0.8795 GB, free: 102.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003599/1.627, allocations: 1.17 MB / 0.8806 GB, free: 101.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001677/1.628, allocations: 61.97 kB / 0.8807 GB, free: 101.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00384/1.632, allocations: 227.8 kB / 0.8809 GB, free: 101.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000916/1.633, allocations: 214.2 kB / 0.8811 GB, free: 101.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002776/1.633, allocations: 97.94 kB / 0.8812 GB, free: 101.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006888/1.64, allocations: 3.679 MB / 0.8848 GB, free: 97.45 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.51e-07/1.64, allocations: 0 / 0.8848 GB, free: 97.45 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009653/1.65, allocations: 1.706 MB / 0.8865 GB, free: 95.75 MB / 0.5919 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.0239/1.674, allocations: 14.99 MB / 0.9011 GB, free: 80.58 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01345/1.687, allocations: 9.259 MB / 0.9101 GB, free: 71.31 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/1.687, allocations: 4 kB / 0.9101 GB, free: 71.31 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00497/1.692, allocations: 3.641 MB / 0.9137 GB, free: 67.65 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006274/1.699, allocations: 0.776 MB / 0.9145 GB, free: 66.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4104/2.109, allocations: 78.89 MB / 0.9915 GB, free: 208.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008245/2.117, allocations: 4.844 MB / 0.9962 GB, free: 207.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005974/2.123, allocations: 2.589 MB / 0.9987 GB, free: 207.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005758/2.129, allocations: 3.081 MB / 1.002 GB, free: 206.7 MB / 0.6075 GB Notification: Performance of SimCode: time 1.343e-06/2.129, allocations: 0 / 1.002 GB, free: 206.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2217/2.351, allocations: 128.7 MB / 1.127 GB, free: 93.12 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 39.13/41.48, allocations: 12.05 kB / 1.127 GB, free: 93.11 MB / 0.6075 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches