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.001853/0.001853, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001356, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.006/2.006, allocations: 227.4 MB / 246.9 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2993/0.2993, allocations: 46.1 MB / 344.3 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002606/0.002606, allocations: 75.86 kB / 417.5 MB, free: 7.578 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1993, allocations: 62.43 MB / 479.9 MB, free: 9.082 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.07528/0.2746, allocations: 62.65 MB / 0.5299 GB, free: 10.17 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.5312/0.8059, allocations: 13.09 MB / 0.5426 GB, free: 35.66 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01741/0.8234, allocations: 274.9 kB / 0.5429 GB, free: 35.66 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009212/0.8327, allocations: 4.542 MB / 0.5473 GB, free: 35.65 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009798/0.8426, allocations: 2.814 MB / 0.5501 GB, free: 35.52 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004124/0.8467, allocations: 1.377 MB / 0.5514 GB, free: 35.49 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01722/0.864, allocations: 12.37 MB / 0.5635 GB, free: 35.47 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02006/0.8841, allocations: 6.29 MB / 0.5697 GB, free: 34.97 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01305/0.8972, allocations: 2.638 MB / 0.5722 GB, free: 34.91 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01607/0.9133, allocations: 4.477 MB / 0.5766 GB, free: 34.5 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006172/0.9196, allocations: 457.6 kB / 0.5771 GB, free: 34.5 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01184/0.9315, allocations: 1.716 MB / 0.5787 GB, free: 34.48 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01217/0.9438, allocations: 3.517 MB / 0.5822 GB, free: 34.11 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01602/0.9599, allocations: 3.982 MB / 0.586 GB, free: 32.18 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02169/0.9816, allocations: 10.64 MB / 0.5964 GB, free: 26.3 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.9817, allocations: 2.188 kB / 0.5964 GB, free: 26.3 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.9817, allocations: 0 / 0.5964 GB, free: 26.3 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007018/0.9824, allocations: 0 / 0.5964 GB, free: 26.3 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: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.04509/1.028, allocations: 8.976 MB / 0.6052 GB, free: 20.48 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.087e-05/1.028, allocations: 14.25 kB / 0.6052 GB, free: 20.48 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03321/1.061, allocations: 4.097 MB / 0.6092 GB, free: 18.39 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02016/1.081, allocations: 4.989 MB / 0.6141 GB, free: 13.94 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007/1.082, allocations: 436.3 kB / 0.6145 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005003/1.087, allocations: 0.606 MB / 0.6151 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05594/1.143, allocations: 20.63 MB / 0.6353 GB, free: 7.625 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006147/1.144, allocations: 81.27 kB / 0.6353 GB, free: 7.578 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004566/1.148, allocations: 267.9 kB / 0.6356 GB, free: 7.383 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008633/1.157, allocations: 3.71 MB / 0.6392 GB, free: 3.723 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05164/1.208, allocations: 18.21 MB / 0.657 GB, free: 1.82 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.1692/1.378, allocations: 74.62 MB / 0.7299 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0357/1.414, allocations: 7.469 MB / 0.7372 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01182/1.425, allocations: 4.109 MB / 0.7412 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5488/1.974, allocations: 18.28 MB / 0.759 GB, free: 197.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001094/1.975, allocations: 68.11 kB / 0.7591 GB, free: 197.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=335): time 1.462e-05/1.975, allocations: 0 / 0.7591 GB, free: 197.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=419): time 0.2419/2.216, allocations: 34.68 MB / 0.793 GB, free: 190 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/2.217, allocations: 196.2 kB / 0.7931 GB, free: 189.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02719/2.244, allocations: 6.464 MB / 0.7995 GB, free: 187.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001463/2.245, allocations: 81.42 kB / 0.7995 GB, free: 187.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00748/2.253, allocations: 5.361 MB / 0.8048 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00378/2.257, allocations: 1.547 MB / 0.8063 GB, free: 182.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008801/2.266, allocations: 2.132 MB / 0.8084 GB, free: 181.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.02e-05/2.266, allocations: 301.1 kB / 0.8087 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01446/2.28, allocations: 4.341 MB / 0.8129 GB, free: 179.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01994/2.3, allocations: 10.29 MB / 0.8229 GB, free: 170 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03061/2.331, allocations: 15.69 MB / 0.8383 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000418/2.331, allocations: 60 kB / 0.8383 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.06335/2.395, allocations: 16.35 MB / 0.8543 GB, free: 139.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002588/2.395, allocations: 94.34 kB / 0.8544 GB, free: 139.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005069/2.396, allocations: 212.5 kB / 0.8546 GB, free: 139.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01421/2.41, allocations: 2.372 MB / 0.8569 GB, free: 137.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01644/2.426, allocations: 2.461 MB / 0.8593 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03453/2.461, allocations: 11.9 MB / 0.8709 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01692/2.478, allocations: 0.5869 MB / 0.8715 GB, free: 122.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003986/2.482, allocations: 0.6015 MB / 0.8721 GB, free: 121.6 MB / 0.5762 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.01564/2.498, allocations: 3.772 MB / 0.8758 GB, free: 117.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004098/2.502, allocations: 0.59 MB / 0.8763 GB, free: 117.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03266/2.535, allocations: 8.33 MB / 0.8845 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001529/2.535, allocations: 64.55 kB / 0.8845 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-05/2.535, allocations: 8 kB / 0.8845 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00012/2.535, allocations: 24.86 kB / 0.8846 GB, free: 108.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07206/2.607, allocations: 18.96 MB / 0.9031 GB, free: 89.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.404e-05/2.607, allocations: 15.94 kB / 0.9031 GB, free: 89.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005861/2.613, allocations: 0.624 MB / 0.9037 GB, free: 88.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01175/2.625, allocations: 1.81 MB / 0.9055 GB, free: 86.96 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001321/2.626, allocations: 79.98 kB / 0.9055 GB, free: 86.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02593/2.652, allocations: 9.994 MB / 0.9153 GB, free: 76.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.828e-05/2.652, allocations: 17.58 kB / 0.9153 GB, free: 76.74 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04021/2.693, allocations: 12.47 MB / 0.9275 GB, free: 63.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003389/2.696, allocations: 0.626 MB / 0.9281 GB, free: 63.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003218/2.699, allocations: 80.77 kB / 0.9282 GB, free: 63.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007523/2.707, allocations: 204.7 kB / 0.9284 GB, free: 63.05 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00215/2.709, allocations: 270.8 kB / 0.9286 GB, free: 62.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001238/2.71, allocations: 116.8 kB / 0.9288 GB, free: 62.67 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.01409/2.725, allocations: 4.02 MB / 0.9327 GB, free: 58.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.32e-07/2.725, allocations: 0.5625 kB / 0.9327 GB, free: 58.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.02081/2.745, allocations: 1.919 MB / 0.9346 GB, free: 56.75 MB / 0.5762 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.002446/2.748, allocations: 286.7 kB / 0.9348 GB, free: 56.47 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02888/2.777, allocations: 10.12 MB / 0.9447 GB, free: 46.36 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.09e-05/2.777, allocations: 4.938 kB / 0.9447 GB, free: 46.35 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01035/2.787, allocations: 3.389 MB / 0.948 GB, free: 42.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01341/2.801, allocations: 0.7649 MB / 0.9488 GB, free: 42.21 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5044/3.305, allocations: 22.43 MB / 0.9707 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01922/3.325, allocations: 5.562 MB / 0.9761 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003567/3.328, allocations: 0.4884 MB / 0.9766 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.803e-06/3.328, allocations: 6.719 kB / 0.9766 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.3058/3.634, allocations: 141 MB / 1.114 GB, free: 76.33 MB / 0.5762 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