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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001051/0.001051, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001089/0.001089, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2258/0.2258, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 71.89 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3675, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.0181/0.3856, allocations: 15.98 MB / 0.5466 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01284/0.3985, allocations: 5.453 MB / 0.5519 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004451/0.403, allocations: 111.6 kB / 0.552 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009318/0.4124, allocations: 5.117 MB / 0.557 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007381/0.4198, allocations: 2.583 MB / 0.5595 GB, free: 4.375 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003123/0.4229, allocations: 1.384 MB / 0.5609 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0116/0.4345, allocations: 8.238 MB / 0.5689 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00864/0.4432, allocations: 7.034 MB / 0.5758 GB, free: 3.613 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007564/0.4508, allocations: 2.773 MB / 0.5785 GB, free: 0.832 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007143/0.458, allocations: 3.751 MB / 0.5822 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001816/0.4598, allocations: 0.6367 MB / 0.5828 GB, free: 12.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004254/0.4641, allocations: 1.779 MB / 0.5845 GB, free: 10.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004235/0.4684, allocations: 3.355 MB / 0.5878 GB, free: 7.289 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006625/0.475, allocations: 3.687 MB / 0.5914 GB, free: 3.582 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01567/0.4907, allocations: 11.92 MB / 0.603 GB, free: 7.617 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.4907, allocations: 0 / 0.603 GB, free: 7.617 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4908, allocations: 0 / 0.603 GB, free: 7.617 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004448/0.4912, allocations: 0 / 0.603 GB, free: 7.617 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.02063/0.5118, allocations: 7.885 MB / 0.6107 GB, free: 15.65 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.5119, allocations: 12.03 kB / 0.6108 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01539/0.5273, allocations: 3.046 MB / 0.6137 GB, free: 12.58 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01333/0.5407, allocations: 5.053 MB / 0.6187 GB, free: 7.445 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004388/0.5411, allocations: 378.2 kB / 0.619 GB, free: 7.074 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00228/0.5434, allocations: 0.5151 MB / 0.6195 GB, free: 6.559 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03494/0.5784, allocations: 15.52 MB / 0.6347 GB, free: 6.141 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004209/0.5789, allocations: 63.38 kB / 0.6347 GB, free: 6.078 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002199/0.5811, allocations: 239.8 kB / 0.635 GB, free: 5.844 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004304/0.5854, allocations: 2.544 MB / 0.6375 GB, free: 3.293 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03138/0.6168, allocations: 13.1 MB / 0.6503 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09454/0.7114, allocations: 57.31 MB / 0.7062 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01866/0.7301, allocations: 6.387 MB / 0.7125 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004977/0.7351, allocations: 3.446 MB / 0.7158 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4043/1.139, allocations: 11.64 MB / 0.7272 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/1.14, allocations: 59.25 kB / 0.7272 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=248): time 6.613e-06/1.14, allocations: 1.078 kB / 0.7272 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=343): time 0.1459/1.286, allocations: 39.14 MB / 0.7655 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.467e-05/1.286, allocations: 243.9 kB / 0.7657 GB, free: 130 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01057/1.296, allocations: 5.694 MB / 0.7713 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008505/1.297, allocations: 81.06 kB / 0.7713 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001971/1.299, allocations: 4.339 MB / 0.7756 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001083/1.3, allocations: 1.265 MB / 0.7768 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002086/1.302, allocations: 1.749 MB / 0.7785 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.547e-05/1.302, allocations: 309 kB / 0.7788 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004339/1.307, allocations: 4.093 MB / 0.7828 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005746/1.312, allocations: 8.674 MB / 0.7913 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0127/1.325, allocations: 13.56 MB / 0.8045 GB, free: 85.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001786/1.325, allocations: 44 kB / 0.8046 GB, free: 85.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03213/1.358, allocations: 16.4 MB / 0.8206 GB, free: 69.24 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.632e-05/1.358, allocations: 72 kB / 0.8207 GB, free: 69.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001296/1.358, allocations: 156 kB / 0.8208 GB, free: 69.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01211/1.37, allocations: 4.283 MB / 0.825 GB, free: 64.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005669/1.376, allocations: 1.895 MB / 0.8268 GB, free: 62.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02627/1.402, allocations: 21.55 MB / 0.8479 GB, free: 41.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008948/1.411, allocations: 0.5029 MB / 0.8484 GB, free: 40.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001344/1.412, allocations: 484 kB / 0.8488 GB, free: 40.17 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * 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 (1031): * Single equations (assignments): 1027 * 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.005898/1.418, allocations: 3.122 MB / 0.8519 GB, free: 37.04 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/1.419, allocations: 0.5129 MB / 0.8524 GB, free: 36.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01968/1.439, allocations: 10.11 MB / 0.8623 GB, free: 26.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.913e-05/1.439, allocations: 36 kB / 0.8623 GB, free: 26.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-05/1.439, allocations: 12 kB / 0.8623 GB, free: 26.29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-05/1.439, allocations: 19.94 kB / 0.8623 GB, free: 26.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03594/1.475, allocations: 20.05 MB / 0.8819 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.668e-05/1.475, allocations: 8.875 kB / 0.8819 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002602/1.478, allocations: 0.4992 MB / 0.8824 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01178/1.49, allocations: 3.833 MB / 0.8861 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007092/1.49, allocations: 67.73 kB / 0.8862 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02899/1.519, allocations: 19.09 MB / 0.9049 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/1.519, allocations: 11.94 kB / 0.9049 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02848/1.548, allocations: 14.92 MB / 0.9194 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00261/1.551, allocations: 0.5704 MB / 0.92 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001117/1.552, allocations: 63.98 kB / 0.9201 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002957/1.555, allocations: 235.6 kB / 0.9203 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008169/1.556, allocations: 222.3 kB / 0.9205 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000258/1.556, allocations: 95.98 kB / 0.9206 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.005942/1.562, allocations: 3.596 MB / 0.9241 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.81e-07/1.562, allocations: 0 / 0.9241 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.008819/1.571, allocations: 1.762 MB / 0.9258 GB, free: 8.754 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (261): * Single equations (assignments): 257 * 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.0008203/1.571, allocations: 259.2 kB / 0.9261 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01502/1.586, allocations: 9.861 MB / 0.9357 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/1.586, allocations: 0 / 0.9357 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005602/1.592, allocations: 3.786 MB / 0.9394 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004152/1.596, allocations: 0.735 MB / 0.9401 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2984/1.895, allocations: 15.85 MB / 0.9556 GB, free: 204.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007872/1.903, allocations: 4.821 MB / 0.9603 GB, free: 203.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.005828/1.908, allocations: 2.58 MB / 0.9628 GB, free: 203.4 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/1.91, allocations: 346.4 kB / 0.9631 GB, free: 203.4 MB / 0.6231 GB Notification: Performance of SimCode: time 9.32e-07/1.91, allocations: 0 / 0.9631 GB, free: 203.4 MB / 0.6231 GB Notification: Performance of Templates: time 0.1093/2.019, allocations: 75.14 MB / 1.037 GB, free: 141.7 MB / 0.6231 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches