Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.001449/0.001449, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.001593/0.001593, allocations: 214 kB / 23.75 MB, free: 4.672 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.475/1.475, allocations: 230.5 MB / 257.4 MB, free: 7.988 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.2367/0.2367, allocations: 46.94 MB / 360.8 MB, free: 4.152 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.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 79.88 kB / 0.4962 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3531, allocations: 66.08 MB / 0.5607 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01957/0.3727, allocations: 16.08 MB / 0.5764 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01217/0.3848, allocations: 5.518 MB / 0.5818 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003177/0.388, allocations: 135.3 kB / 0.5819 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00997/0.398, allocations: 5.191 MB / 0.587 GB, free: 9.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00749/0.4055, allocations: 2.677 MB / 0.5896 GB, free: 6.562 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003572/0.409, allocations: 1.384 MB / 0.591 GB, free: 5.176 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01305/0.4221, allocations: 8.262 MB / 0.599 GB, free: 12.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007897/0.43, allocations: 5.205 MB / 0.6041 GB, free: 7.602 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005273/0.4353, allocations: 2.82 MB / 0.6069 GB, free: 4.773 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006684/0.4419, allocations: 4.027 MB / 0.6108 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001966/0.4439, allocations: 0.6328 MB / 0.6114 GB, free: 104 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004253/0.4482, allocations: 1.826 MB / 0.6132 GB, free: 14.27 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004763/0.4529, allocations: 3.448 MB / 0.6166 GB, free: 10.81 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007376/0.4603, allocations: 3.788 MB / 0.6203 GB, free: 7.004 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01844/0.4787, allocations: 12.18 MB / 0.6322 GB, free: 10.78 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.061e-05/0.4788, allocations: 0 / 0.6322 GB, free: 10.78 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4788, allocations: 0 / 0.6322 GB, free: 10.78 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005333/0.4793, allocations: 4 kB / 0.6322 GB, free: 10.78 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.02444/0.5037, allocations: 8.294 MB / 0.6403 GB, free: 2.406 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.5038, allocations: 12.03 kB / 0.6403 GB, free: 2.395 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003026/0.5068, allocations: 1.148 MB / 0.6414 GB, free: 1.234 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05235/0.5592, allocations: 8.406 MB / 0.6496 GB, free: 8.812 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01415/0.5733, allocations: 5.8 MB / 0.6553 GB, free: 2.926 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00041/0.5737, allocations: 386 kB / 0.6556 GB, free: 2.547 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001747/0.5755, allocations: 0.5153 MB / 0.6562 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03048/0.606, allocations: 15.41 MB / 0.6712 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002449/0.6062, allocations: 67.48 kB / 0.6713 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000817/0.607, allocations: 243.8 kB / 0.6715 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004026/0.611, allocations: 2.544 MB / 0.674 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02688/0.6379, allocations: 12.89 MB / 0.6866 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3894/1.027, allocations: 56.83 MB / 0.7421 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01541/1.043, allocations: 5.644 MB / 0.7476 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003532/1.046, allocations: 3.11 MB / 0.7506 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01479/1.061, allocations: 9.749 MB / 0.7601 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/1.061, allocations: 55.41 kB / 0.7602 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=245): time 5.511e-06/1.061, allocations: 3.812 kB / 0.7602 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=338): time 0.1175/1.179, allocations: 39.45 MB / 0.7987 GB, free: 79.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/1.179, allocations: 239.9 kB / 0.7989 GB, free: 79.62 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007635/1.186, allocations: 5.743 MB / 0.8045 GB, free: 74 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000815/1.187, allocations: 77.7 kB / 0.8046 GB, free: 73.92 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002172/1.189, allocations: 4.613 MB / 0.8091 GB, free: 69.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001452/1.191, allocations: 1.287 MB / 0.8104 GB, free: 68.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002062/1.193, allocations: 1.64 MB / 0.812 GB, free: 66.72 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.697e-05/1.193, allocations: 313 kB / 0.8123 GB, free: 66.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004495/1.197, allocations: 3.776 MB / 0.816 GB, free: 62.63 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006691/1.204, allocations: 8.302 MB / 0.8241 GB, free: 52.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01262/1.217, allocations: 13.01 MB / 0.8368 GB, free: 37.08 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000115/1.217, allocations: 44 kB / 0.8368 GB, free: 37.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1067) (initialization): time 0.02901/1.246, allocations: 15.45 MB / 0.8519 GB, free: 21.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.826e-05/1.246, allocations: 76 kB / 0.852 GB, free: 21.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001488/1.246, allocations: 156 kB / 0.8521 GB, free: 21.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01175/1.258, allocations: 4.1 MB / 0.8561 GB, free: 17.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005957/1.264, allocations: 1.797 MB / 0.8579 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02823/1.292, allocations: 20.83 MB / 0.8782 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006846/1.299, allocations: 499.4 kB / 0.8787 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001617/1.3, allocations: 475.9 kB / 0.8792 GB, free: 9.516 MB / 0.5762 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.007357/1.308, allocations: 3.103 MB / 0.8822 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00178/1.31, allocations: 0.551 MB / 0.8827 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02419/1.334, allocations: 9.556 MB / 0.8921 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.211e-05/1.334, allocations: 36 kB / 0.8921 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.212e-05/1.334, allocations: 20 kB / 0.8921 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.488e-05/1.334, allocations: 19.88 kB / 0.8921 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05083/1.385, allocations: 19.54 MB / 0.9112 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.793e-05/1.385, allocations: 8 kB / 0.9112 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002446/1.387, allocations: 0.4922 MB / 0.9117 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01288/1.4, allocations: 3.651 MB / 0.9153 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006171/1.401, allocations: 63.98 kB / 0.9153 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03184/1.433, allocations: 18.35 MB / 0.9333 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.47e-05/1.433, allocations: 11.94 kB / 0.9333 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03099/1.464, allocations: 14.2 MB / 0.9471 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002181/1.466, allocations: 0.5157 MB / 0.9476 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00188/1.468, allocations: 68.05 kB / 0.9477 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003761/1.471, allocations: 227.6 kB / 0.9479 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00107/1.473, allocations: 230.1 kB / 0.9481 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005191/1.473, allocations: 102.4 kB / 0.9482 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.007512/1.481, allocations: 3.643 MB / 0.9518 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.1e-07/1.481, allocations: 0 / 0.9518 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.008431/1.489, allocations: 1.676 MB / 0.9534 GB, free: 12.94 MB / 0.6544 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.03282/1.522, allocations: 14.94 MB / 0.968 GB, free: 13.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01853/1.54, allocations: 8.823 MB / 0.9766 GB, free: 4.973 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/1.54, allocations: 3.938 kB / 0.9766 GB, free: 4.969 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006291/1.547, allocations: 3.319 MB / 0.9799 GB, free: 1.633 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006249/1.553, allocations: 0.7861 MB / 0.9806 GB, free: 0.8594 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.397/1.95, allocations: 78.65 MB / 1.057 GB, free: 215.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005977/1.956, allocations: 4.818 MB / 1.062 GB, free: 210.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00568/1.962, allocations: 2.594 MB / 1.065 GB, free: 207.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004009/1.966, allocations: 3.061 MB / 1.068 GB, free: 204.7 MB / 0.6856 GB Notification: Performance of SimCode: time 1.373e-06/1.966, allocations: 0 / 1.068 GB, free: 204.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2315/2.197, allocations: 132.4 MB / 1.197 GB, free: 72.98 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 40.84/43.04, allocations: 11.61 kB / 1.197 GB, free: 72.98 MB / 0.6856 GB " [Timeout remaining time 617] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointUSP_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointUSP.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 47.33683177502826]