Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000792/0.0007918, allocations: 93.33 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.0008731/0.000873, allocations: 201.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1944/0.1944, allocations: 46.19 MB / 345.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002654/0.0002654, allocations: 15.92 kB / 420.2 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.118, allocations: 63.55 MB / 483.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.2867/0.4048, allocations: 56.3 MB / 0.5274 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02615/0.4309, allocations: 12.12 MB / 0.5392 GB, free: 5.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01036/0.4413, allocations: 248.8 kB / 0.5394 GB, free: 5.457 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001991/0.4434, allocations: 0.6805 MB / 0.5401 GB, free: 5.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00631/0.4497, allocations: 2.572 MB / 0.5426 GB, free: 4.359 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.452, allocations: 1.16 MB / 0.5438 GB, free: 3.676 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01103/0.4631, allocations: 10.85 MB / 0.5543 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01082/0.4739, allocations: 7.81 MB / 0.562 GB, free: 6.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004514/0.4785, allocations: 1.976 MB / 0.5639 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005446/0.484, allocations: 3.523 MB / 0.5673 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001059/0.4851, allocations: 260 kB / 0.5676 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003213/0.4883, allocations: 1.498 MB / 0.5691 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002873/0.4912, allocations: 2.921 MB / 0.5719 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003696/0.4949, allocations: 3.339 MB / 0.5752 GB, free: 9 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009692/0.5046, allocations: 9.485 MB / 0.5844 GB, free: 15.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.5046, allocations: 0 / 0.5844 GB, free: 15.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5046, allocations: 0 / 0.5844 GB, free: 15.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003747/0.505, allocations: 0 / 0.5844 GB, free: 15.49 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: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.01396/0.519, allocations: 6.389 MB / 0.5907 GB, free: 9.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.519, allocations: 16.88 kB / 0.5907 GB, free: 9.004 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01653/0.5356, allocations: 4.039 MB / 0.5946 GB, free: 4.949 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008506/0.5441, allocations: 4.174 MB / 0.5987 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003188/0.5445, allocations: 398 kB / 0.5991 GB, free: 332 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001685/0.5462, allocations: 0.5541 MB / 0.5996 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03618/0.5824, allocations: 18.93 MB / 0.6181 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003014/0.5827, allocations: 67.38 kB / 0.6182 GB, free: 11.72 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001715/0.5844, allocations: 251.7 kB / 0.6184 GB, free: 11.47 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005429/0.5899, allocations: 3.436 MB / 0.6218 GB, free: 8.031 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03477/0.6247, allocations: 16.68 MB / 0.6381 GB, free: 7.328 MB / 478.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.09504/0.7197, allocations: 66.84 MB / 0.7033 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4385/1.158, allocations: 6.288 MB / 0.7095 GB, free: 175.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004363/1.163, allocations: 2.837 MB / 0.7123 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02254/1.185, allocations: 13.92 MB / 0.7258 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.23e-05/1.185, allocations: 64.25 kB / 0.7259 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 7.454e-06/1.185, allocations: 0 / 0.7259 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=345): time 0.07621/1.262, allocations: 25.02 MB / 0.7503 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/1.262, allocations: 188.3 kB / 0.7505 GB, free: 157.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006588/1.268, allocations: 5.872 MB / 0.7563 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005266/1.269, allocations: 76.05 kB / 0.7563 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002133/1.271, allocations: 4.953 MB / 0.7612 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001027/1.272, allocations: 1.284 MB / 0.7624 GB, free: 145 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007687/1.273, allocations: 0.8174 MB / 0.7632 GB, free: 144.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.946e-05/1.273, allocations: 301.1 kB / 0.7635 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004087/1.277, allocations: 3.365 MB / 0.7668 GB, free: 140.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005823/1.283, allocations: 8.876 MB / 0.7755 GB, free: 128.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/1.294, allocations: 13.19 MB / 0.7883 GB, free: 113 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001173/1.294, allocations: 56 kB / 0.7884 GB, free: 112.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02155/1.316, allocations: 13 MB / 0.8011 GB, free: 99.86 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.00013/1.316, allocations: 88 kB / 0.8012 GB, free: 99.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002098/1.316, allocations: 195.9 kB / 0.8014 GB, free: 99.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004054/1.32, allocations: 1.324 MB / 0.8027 GB, free: 98.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007189/1.327, allocations: 2.203 MB / 0.8048 GB, free: 96.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/1.338, allocations: 7.311 MB / 0.8119 GB, free: 88.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006725/1.344, allocations: 0.5085 MB / 0.8124 GB, free: 88.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0012/1.346, allocations: 0.5561 MB / 0.813 GB, free: 87.55 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 880 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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 (1179): * Single equations (assignments): 1172 * 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,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005256/1.351, allocations: 3.446 MB / 0.8163 GB, free: 84.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009033/1.352, allocations: 0.5206 MB / 0.8169 GB, free: 83.57 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01/1.362, allocations: 5.398 MB / 0.8221 GB, free: 78.11 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.214e-05/1.362, allocations: 38.66 kB / 0.8222 GB, free: 78.07 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/1.362, allocations: 8 kB / 0.8222 GB, free: 78.07 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.95e-05/1.362, allocations: 19.94 kB / 0.8222 GB, free: 78.05 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02438/1.386, allocations: 14.01 MB / 0.8359 GB, free: 63.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-05/1.386, allocations: 20.38 kB / 0.8359 GB, free: 63.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001989/1.388, allocations: 0.4915 MB / 0.8364 GB, free: 63.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00308/1.391, allocations: 0.8105 MB / 0.8372 GB, free: 62.48 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002335/1.392, allocations: 69.16 kB / 0.8372 GB, free: 62.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007534/1.399, allocations: 5.336 MB / 0.8424 GB, free: 56.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/1.399, allocations: 16.41 kB / 0.8425 GB, free: 56.93 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01172/1.411, allocations: 8.302 MB / 0.8506 GB, free: 48.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/1.412, allocations: 0.5761 MB / 0.8511 GB, free: 47.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006039/1.413, allocations: 60.94 kB / 0.8512 GB, free: 47.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/1.415, allocations: 148.5 kB / 0.8513 GB, free: 47.53 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003933/1.415, allocations: 214.8 kB / 0.8515 GB, free: 47.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001761/1.415, allocations: 104.7 kB / 0.8516 GB, free: 47.22 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004538/1.42, allocations: 3.646 MB / 0.8552 GB, free: 43.61 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.11e-07/1.42, allocations: 4 kB / 0.8552 GB, free: 43.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006721/1.427, allocations: 1.619 MB / 0.8568 GB, free: 41.99 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 (269): * Single equations (assignments): 262 * 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,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006725/1.427, allocations: 266.9 kB / 0.857 GB, free: 41.74 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01104/1.438, allocations: 7.897 MB / 0.8647 GB, free: 33.86 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.458e-05/1.439, allocations: 0 / 0.8647 GB, free: 33.86 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003404/1.442, allocations: 2.379 MB / 0.8671 GB, free: 31.46 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01255/1.455, allocations: 0.668 MB / 0.8677 GB, free: 30.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02622/1.481, allocations: 19.64 MB / 0.8869 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005762/1.487, allocations: 5.146 MB / 0.8919 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001716/1.488, allocations: 451.4 kB / 0.8924 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of SimCode: time 1.233e-06/1.488, allocations: 0 / 0.8924 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of Templates: time 0.3924/1.881, allocations: 124.3 MB / 1.014 GB, free: 85.76 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches