Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009519/0.000952, allocations: 95.8 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008851/0.0008852, allocations: 208.3 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.7 MB / 247.5 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1963/0.1963, allocations: 46.19 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002854/0.0002857, allocations: 11.98 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1248, allocations: 63.55 MB / 483.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.3272/0.4521, allocations: 61.04 MB / 0.532 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03081/0.4829, allocations: 13.04 MB / 0.5447 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01415/0.4971, allocations: 276.3 kB / 0.545 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002811/0.5, allocations: 0.7299 MB / 0.5457 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00907/0.5091, allocations: 2.814 MB / 0.5485 GB, free: 15.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004016/0.5131, allocations: 1.38 MB / 0.5498 GB, free: 15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01575/0.5289, allocations: 12.39 MB / 0.5619 GB, free: 6.719 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01371/0.5427, allocations: 8.651 MB / 0.5703 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005221/0.5479, allocations: 2.241 MB / 0.5725 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006632/0.5546, allocations: 3.979 MB / 0.5764 GB, free: 7.711 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001801/0.5564, allocations: 292 kB / 0.5767 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00443/0.5609, allocations: 1.552 MB / 0.5782 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004621/0.5655, allocations: 3.288 MB / 0.5814 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006638/0.5722, allocations: 3.704 MB / 0.585 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01283/0.5851, allocations: 10.39 MB / 0.5952 GB, free: 4.422 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.5851, allocations: 0 / 0.5952 GB, free: 4.422 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.5851, allocations: 0 / 0.5952 GB, free: 4.422 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004423/0.5856, allocations: 4 kB / 0.5952 GB, free: 4.418 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: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.01862/0.6042, allocations: 7.38 MB / 0.6024 GB, free: 12.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.6043, allocations: 8.875 kB / 0.6024 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01838/0.6227, allocations: 4.202 MB / 0.6065 GB, free: 8.727 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/0.6345, allocations: 4.978 MB / 0.6114 GB, free: 3.664 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004978/0.6351, allocations: 434.9 kB / 0.6118 GB, free: 3.238 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002579/0.6377, allocations: 0.5933 MB / 0.6124 GB, free: 2.645 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04406/0.6818, allocations: 20.69 MB / 0.6326 GB, free: 12.81 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003875/0.6822, allocations: 79.23 kB / 0.6327 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002248/0.6845, allocations: 267.7 kB / 0.6329 GB, free: 12.47 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006384/0.6909, allocations: 3.714 MB / 0.6365 GB, free: 8.754 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04041/0.7313, allocations: 18.27 MB / 0.6544 GB, free: 6.473 MB / 494.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.5756/1.307, allocations: 74.54 MB / 0.7272 GB, free: 130.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0188/1.326, allocations: 7.454 MB / 0.7344 GB, free: 129 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005777/1.332, allocations: 4.116 MB / 0.7385 GB, free: 128.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02575/1.357, allocations: 18.26 MB / 0.7563 GB, free: 118.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/1.357, allocations: 62.31 kB / 0.7564 GB, free: 118.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=335): time 6.022e-06/1.358, allocations: 3.938 kB / 0.7564 GB, free: 118.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=419): time 0.106/1.464, allocations: 34.96 MB / 0.7905 GB, free: 93.39 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.566e-05/1.464, allocations: 192.9 kB / 0.7907 GB, free: 93.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007738/1.471, allocations: 6.466 MB / 0.797 GB, free: 86.69 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007016/1.472, allocations: 85.7 kB / 0.7971 GB, free: 86.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002427/1.475, allocations: 5.362 MB / 0.8023 GB, free: 81.24 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001509/1.476, allocations: 1.543 MB / 0.8038 GB, free: 79.71 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001071/1.477, allocations: 0.9208 MB / 0.8047 GB, free: 78.79 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.565e-05/1.477, allocations: 312.5 kB / 0.805 GB, free: 78.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005559/1.483, allocations: 4.335 MB / 0.8093 GB, free: 74.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007634/1.49, allocations: 10.28 MB / 0.8193 GB, free: 61.06 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01491/1.505, allocations: 15.68 MB / 0.8346 GB, free: 42.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001436/1.506, allocations: 60 kB / 0.8347 GB, free: 42.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.02871/1.534, allocations: 16.36 MB / 0.8506 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001196/1.534, allocations: 97.5 kB / 0.8507 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002/1.535, allocations: 208 kB / 0.8509 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007277/1.542, allocations: 2.369 MB / 0.8532 GB, free: 23.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007775/1.55, allocations: 2.48 MB / 0.8557 GB, free: 21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01649/1.566, allocations: 11.91 MB / 0.8673 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008331/1.575, allocations: 0.6019 MB / 0.8679 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001635/1.576, allocations: 0.5976 MB / 0.8685 GB, free: 7.77 MB / 0.5294 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.006172/1.582, allocations: 3.77 MB / 0.8722 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001095/1.584, allocations: 0.5862 MB / 0.8727 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01713/1.601, allocations: 8.326 MB / 0.8809 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001065/1.601, allocations: 67.98 kB / 0.8809 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.313e-05/1.601, allocations: 15.94 kB / 0.8809 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.278e-05/1.601, allocations: 15.94 kB / 0.881 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03943/1.64, allocations: 18.96 MB / 0.8995 GB, free: 7.594 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.579e-05/1.64, allocations: 12 kB / 0.8995 GB, free: 7.582 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002957/1.643, allocations: 0.6288 MB / 0.9001 GB, free: 6.953 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006965/1.65, allocations: 1.811 MB / 0.9019 GB, free: 5.137 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005779/1.651, allocations: 83.98 kB / 0.9019 GB, free: 5.055 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01741/1.668, allocations: 10.01 MB / 0.9117 GB, free: 10.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.759e-05/1.668, allocations: 24 kB / 0.9117 GB, free: 10.88 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2859/1.954, allocations: 12.47 MB / 0.9239 GB, free: 201 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001949/1.956, allocations: 0.6302 MB / 0.9245 GB, free: 200.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002041/1.958, allocations: 81.72 kB / 0.9246 GB, free: 200.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004183/1.963, allocations: 207 kB / 0.9248 GB, free: 200.9 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001241/1.964, allocations: 269.6 kB / 0.9251 GB, free: 200.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007171/1.965, allocations: 112.7 kB / 0.9252 GB, free: 200.9 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01002/1.975, allocations: 4.021 MB / 0.9291 GB, free: 200.7 MB / 0.5763 GB Notification: Performance of sort global known variables: time 4.51e-07/1.975, allocations: 3.5 kB / 0.9291 GB, free: 200.7 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0108/1.986, allocations: 1.914 MB / 0.931 GB, free: 200.7 MB / 0.5763 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.001305/1.987, allocations: 285.3 kB / 0.9312 GB, free: 200.6 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01837/2.005, allocations: 10.13 MB / 0.9411 GB, free: 197.1 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.649e-05/2.005, allocations: 0 / 0.9411 GB, free: 197.1 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.005455/2.011, allocations: 3.394 MB / 0.9445 GB, free: 195.8 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01681/2.028, allocations: 0.7671 MB / 0.9452 GB, free: 195.4 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03567/2.063, allocations: 22.53 MB / 0.9672 GB, free: 183.6 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009265/2.073, allocations: 5.558 MB / 0.9726 GB, free: 181.7 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002396/2.075, allocations: 489.6 kB / 0.9731 GB, free: 181.4 MB / 0.5763 GB Notification: Performance of SimCode: time 9.72e-07/2.075, allocations: 0 / 0.9731 GB, free: 181.4 MB / 0.5763 GB Notification: Performance of Templates: time 0.171/2.246, allocations: 139.5 MB / 1.109 GB, free: 45.48 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSR/JointUSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches