Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 97.53 kB / 16.93 MB, free: 5.875 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.001105/0.001105, allocations: 191.6 kB / 17.86 MB, free: 5.164 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.42/1.42, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.2134/0.2134, allocations: 43.52 MB / 314.6 MB, free: 0.5234 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.001724/0.001724, allocations: 71.98 kB / 383.4 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09572/0.09746, allocations: 57.79 MB / 441.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01746/0.115, allocations: 17.78 MB / 459 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01385/0.1289, allocations: 5.66 MB / 464.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003663/0.1326, allocations: 111.7 kB / 464.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009681/0.1423, allocations: 4.579 MB / 469.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009225/0.1516, allocations: 3.027 MB / 472.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004159/0.1558, allocations: 1.497 MB / 473.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01257/0.1684, allocations: 8.611 MB / 482.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01047/0.1789, allocations: 6.464 MB / 488.9 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005949/0.1849, allocations: 3.018 MB / 491.9 MB, free: 3.926 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007538/0.1925, allocations: 4.292 MB / 496.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002897/0.1954, allocations: 0.6641 MB / 496.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005495/0.2009, allocations: 1.838 MB / 498.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005465/0.2064, allocations: 3.733 MB / 0.4907 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008676/0.2151, allocations: 4.218 MB / 0.4948 GB, free: 5.133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01797/0.2331, allocations: 13.15 MB / 0.5077 GB, free: 7.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2332, allocations: 0 / 0.5077 GB, free: 7.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.348e-06/0.2332, allocations: 0 / 0.5077 GB, free: 7.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004894/0.2337, allocations: 3.938 kB / 0.5077 GB, free: 7.934 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.02724/0.2609, allocations: 9.037 MB / 0.5165 GB, free: 14.81 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.261, allocations: 15.89 kB / 0.5165 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01894/0.2799, allocations: 4.108 MB / 0.5205 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01327/0.2932, allocations: 5.295 MB / 0.5257 GB, free: 5.289 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005073/0.2938, allocations: 442.9 kB / 0.5261 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003247/0.2971, allocations: 0.5972 MB / 0.5267 GB, free: 4.258 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2494/0.5465, allocations: 20.62 MB / 0.5468 GB, free: 75.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002928/0.5468, allocations: 78.94 kB / 0.5469 GB, free: 75.1 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001137/0.548, allocations: 271.6 kB / 0.5472 GB, free: 74.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005168/0.5532, allocations: 3.718 MB / 0.5508 GB, free: 74.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03379/0.587, allocations: 18.2 MB / 0.5686 GB, free: 60.46 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09025/0.6773, allocations: 74.63 MB / 0.6414 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0193/0.6966, allocations: 7.461 MB / 0.6487 GB, free: 8.809 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006162/0.7028, allocations: 4.105 MB / 0.6527 GB, free: 4.684 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03319/0.736, allocations: 18.22 MB / 0.6705 GB, free: 1.746 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.346e-05/0.7361, allocations: 64.59 kB / 0.6706 GB, free: 1.672 MB / 462.1 MB Notification: Performance of pre-optimization done (n=335): time 7.704e-06/0.7361, allocations: 0 / 0.6706 GB, free: 1.672 MB / 462.1 MB Notification: Performance of matching and sorting (n=419): time 0.1232/0.8594, allocations: 35.1 MB / 0.7049 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.8595, allocations: 192.9 kB / 0.705 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009514/0.869, allocations: 6.51 MB / 0.7114 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008039/0.8699, allocations: 89.7 kB / 0.7115 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003902/0.8738, allocations: 5.368 MB / 0.7167 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001926/0.8757, allocations: 1.542 MB / 0.7182 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2234/1.099, allocations: 2.139 MB / 0.7203 GB, free: 160.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.51e-05/1.099, allocations: 307.4 kB / 0.7206 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007466/1.107, allocations: 4.333 MB / 0.7249 GB, free: 160.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01075/1.118, allocations: 10.28 MB / 0.7349 GB, free: 151.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01753/1.135, allocations: 15.68 MB / 0.7502 GB, free: 139.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002668/1.135, allocations: 58.31 kB / 0.7503 GB, free: 139.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03295/1.168, allocations: 16.35 MB / 0.7662 GB, free: 133.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002654/1.169, allocations: 93.69 kB / 0.7663 GB, free: 133.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004115/1.169, allocations: 208.5 kB / 0.7665 GB, free: 133.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007837/1.177, allocations: 2.38 MB / 0.7688 GB, free: 132.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008364/1.185, allocations: 2.467 MB / 0.7712 GB, free: 130.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01694/1.202, allocations: 12.75 MB / 0.7837 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00825/1.211, allocations: 0.5961 MB / 0.7843 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001793/1.212, allocations: 0.5936 MB / 0.7849 GB, free: 118.3 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 943 * Number of states: 0 () * Number of discrete variables: 49 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1316): * Single equations (assignments): 1309 * Array equations: 6 * 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 {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00722/1.22, allocations: 3.775 MB / 0.7885 GB, free: 114.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00144/1.221, allocations: 0.5965 MB / 0.7891 GB, free: 114.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01519/1.236, allocations: 8.32 MB / 0.7973 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.707e-05/1.236, allocations: 65.39 kB / 0.7973 GB, free: 106 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.942e-05/1.236, allocations: 12 kB / 0.7973 GB, free: 106 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.82e-05/1.237, allocations: 19.92 kB / 0.7973 GB, free: 106 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03586/1.272, allocations: 18.96 MB / 0.8159 GB, free: 86.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.442e-05/1.272, allocations: 12 kB / 0.8159 GB, free: 86.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002823/1.275, allocations: 0.6262 MB / 0.8165 GB, free: 86.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006068/1.281, allocations: 1.814 MB / 0.8183 GB, free: 84.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006011/1.282, allocations: 87.5 kB / 0.8183 GB, free: 84.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01425/1.296, allocations: 10.84 MB / 0.8289 GB, free: 73.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.497e-06/1.296, allocations: 16.8 kB / 0.8289 GB, free: 73.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01875/1.315, allocations: 12.47 MB / 0.8411 GB, free: 60.56 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002991/1.318, allocations: 1.158 MB / 0.8422 GB, free: 59.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001357/1.319, allocations: 83.66 kB / 0.8423 GB, free: 59.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003217/1.323, allocations: 205.5 kB / 0.8425 GB, free: 59.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006394/1.323, allocations: 273.7 kB / 0.8428 GB, free: 58.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000247/1.324, allocations: 112 kB / 0.8429 GB, free: 58.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005931/1.33, allocations: 4.048 MB / 0.8468 GB, free: 54.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.423e-06/1.33, allocations: 0 / 0.8468 GB, free: 54.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009804/1.339, allocations: 1.958 MB / 0.8488 GB, free: 52.74 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * Number of states: 2 (j2.s,j2.v) * 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 (331): * Single equations (assignments): 324 * Array equations: 6 * 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 {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009461/1.34, allocations: 285 kB / 0.849 GB, free: 52.47 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0243/1.365, allocations: 15.89 MB / 0.8645 GB, free: 36.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-05/1.365, allocations: 7.984 kB / 0.8646 GB, free: 36.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004642/1.369, allocations: 3.394 MB / 0.8679 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005011/1.374, allocations: 0.7971 MB / 0.8686 GB, free: 32.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02923/1.404, allocations: 18.68 MB / 0.8869 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006561/1.41, allocations: 5.566 MB / 0.8923 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00207/1.412, allocations: 499.4 kB / 0.8928 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of SimCode: time 6.62e-07/1.412, allocations: 0 / 0.8928 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of Templates: time 0.3802/1.793, allocations: 141.6 MB / 1.031 GB, free: 58.71 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSR/JointUSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches