Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009626/0.0009627, allocations: 202.1 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 226.5 MB / 243.1 MB, free: 12.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007998/0.0007999, allocations: 99.84 kB / 295.1 MB, free: 4.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2097/0.2097, allocations: 44.83 MB / 391.9 MB, free: 11.4 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002657/0.0002657, allocations: 11.98 kB / 464.7 MB, free: 68.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08521/0.08549, allocations: 62.95 MB / 0.5153 GB, free: 5.125 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.2331/0.3186, allocations: 52.72 MB / 0.5668 GB, free: 9.699 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02521/0.3439, allocations: 11.73 MB / 0.5783 GB, free: 7.953 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009604/0.3535, allocations: 249.6 kB / 0.5785 GB, free: 7.914 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007913/0.3614, allocations: 2.741 MB / 0.5812 GB, free: 6.996 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02038/0.3819, allocations: 8.255 MB / 0.5892 GB, free: 2.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003981/0.3858, allocations: 1.077 MB / 0.5903 GB, free: 1.805 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.03959/0.4254, allocations: 36.19 MB / 0.6256 GB, free: 1.938 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01059/0.4361, allocations: 7.025 MB / 0.6325 GB, free: 10.84 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004224/0.4403, allocations: 2.149 MB / 0.6346 GB, free: 8.688 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004889/0.4453, allocations: 3.486 MB / 0.638 GB, free: 5.191 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001379/0.4467, allocations: 264 kB / 0.6383 GB, free: 4.934 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0034/0.4501, allocations: 1.284 MB / 0.6395 GB, free: 3.648 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003567/0.4537, allocations: 2.887 MB / 0.6423 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002371/0.456, allocations: 1.372 MB / 0.6437 GB, free: 15.37 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01043/0.4665, allocations: 9.539 MB / 0.653 GB, free: 5.809 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4665, allocations: 0 / 0.653 GB, free: 5.809 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4665, allocations: 0 / 0.653 GB, free: 5.809 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003879/0.4669, allocations: 0 / 0.653 GB, free: 5.809 MB / 442.7 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.01391/0.4808, allocations: 6.549 MB / 0.6594 GB, free: 15.18 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.4809, allocations: 8.031 kB / 0.6594 GB, free: 15.17 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01507/0.496, allocations: 4.038 MB / 0.6633 GB, free: 11.11 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008599/0.5046, allocations: 4.101 MB / 0.6673 GB, free: 6.953 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004178/0.505, allocations: 402 kB / 0.6677 GB, free: 6.559 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001967/0.507, allocations: 0.5425 MB / 0.6682 GB, free: 6.016 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03393/0.541, allocations: 18.89 MB / 0.6867 GB, free: 2.074 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002271/0.5412, allocations: 71.36 kB / 0.6868 GB, free: 2.004 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001013/0.5423, allocations: 251.8 kB / 0.687 GB, free: 1.758 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004901/0.5472, allocations: 3.428 MB / 0.6903 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03212/0.5793, allocations: 16.6 MB / 0.7066 GB, free: 13.7 MB / 0.4948 GB 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.4766/1.056, allocations: 66.81 MB / 0.7718 GB, free: 138 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01447/1.07, allocations: 6.26 MB / 0.7779 GB, free: 136.7 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00359/1.074, allocations: 2.82 MB / 0.7807 GB, free: 136.1 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01872/1.093, allocations: 13.83 MB / 0.7942 GB, free: 128.6 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/1.093, allocations: 65.25 kB / 0.7942 GB, free: 128.6 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=284): time 6.081e-06/1.093, allocations: 0 / 0.7942 GB, free: 128.6 MB / 0.5262 GB Notification: Performance of matching and sorting (n=345): time 0.07109/1.164, allocations: 25.2 MB / 0.8189 GB, free: 115 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/1.164, allocations: 190.2 kB / 0.819 GB, free: 114.8 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006172/1.17, allocations: 5.849 MB / 0.8248 GB, free: 109 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0004945/1.171, allocations: 78.64 kB / 0.8248 GB, free: 108.9 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002008/1.173, allocations: 4.953 MB / 0.8297 GB, free: 103.9 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009946/1.174, allocations: 1.28 MB / 0.8309 GB, free: 102.7 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003464/1.174, allocations: 192.8 kB / 0.8311 GB, free: 102.5 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0003242/1.175, allocations: 0.7153 MB / 0.8318 GB, free: 101.8 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003964/1.178, allocations: 3.321 MB / 0.835 GB, free: 98.45 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005759/1.184, allocations: 8.839 MB / 0.8437 GB, free: 86.98 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006585/1.191, allocations: 5.308 MB / 0.8489 GB, free: 81.77 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.412e-05/1.191, allocations: 56 kB / 0.8489 GB, free: 81.71 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02121/1.212, allocations: 12.92 MB / 0.8615 GB, free: 68.75 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/1.212, allocations: 88 kB / 0.8616 GB, free: 68.66 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001903/1.213, allocations: 192 kB / 0.8618 GB, free: 68.48 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00374/1.216, allocations: 1.342 MB / 0.8631 GB, free: 67.13 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00635/1.223, allocations: 2.211 MB / 0.8653 GB, free: 64.92 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009391/1.232, allocations: 7.29 MB / 0.8724 GB, free: 57.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00595/1.238, allocations: 0.5072 MB / 0.8729 GB, free: 56.99 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001123/1.239, allocations: 0.5521 MB / 0.8734 GB, free: 56.44 MB / 0.5262 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004868/1.244, allocations: 3.456 MB / 0.8768 GB, free: 52.97 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008336/1.245, allocations: 0.5245 MB / 0.8773 GB, free: 52.44 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00921/1.254, allocations: 5.386 MB / 0.8826 GB, free: 47 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.373e-05/1.254, allocations: 40.94 kB / 0.8826 GB, free: 46.96 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/1.254, allocations: 4.875 kB / 0.8826 GB, free: 46.95 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.714e-05/1.254, allocations: 15.95 kB / 0.8826 GB, free: 46.94 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0222/1.276, allocations: 13.98 MB / 0.8963 GB, free: 32.73 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.522e-05/1.277, allocations: 8 kB / 0.8963 GB, free: 32.73 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001952/1.278, allocations: 0.4977 MB / 0.8968 GB, free: 32.23 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002995/1.282, allocations: 0.8086 MB / 0.8976 GB, free: 31.42 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002696/1.282, allocations: 74.8 kB / 0.8976 GB, free: 31.35 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007167/1.289, allocations: 5.326 MB / 0.9028 GB, free: 25.89 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/1.289, allocations: 16 kB / 0.9029 GB, free: 25.88 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/1.301, allocations: 8.256 MB / 0.9109 GB, free: 17.33 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/1.302, allocations: 0.5683 MB / 0.9115 GB, free: 16.73 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006648/1.303, allocations: 76 kB / 0.9115 GB, free: 16.66 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001905/1.305, allocations: 133.1 kB / 0.9117 GB, free: 16.53 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003647/1.305, allocations: 217.5 kB / 0.9119 GB, free: 16.32 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001822/1.305, allocations: 101.4 kB / 0.912 GB, free: 16.22 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.004789/1.31, allocations: 3.623 MB / 0.9155 GB, free: 12.63 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.9e-07/1.31, allocations: 0 / 0.9155 GB, free: 12.63 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.007013/1.317, allocations: 1.657 MB / 0.9171 GB, free: 10.98 MB / 0.5262 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006693/1.318, allocations: 253.5 kB / 0.9174 GB, free: 10.74 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01084/1.329, allocations: 7.835 MB / 0.925 GB, free: 2.918 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/1.329, allocations: 8.906 kB / 0.925 GB, free: 2.91 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.003171/1.332, allocations: 2.365 MB / 0.9273 GB, free: 0.5312 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003547/1.335, allocations: 0.6763 MB / 0.928 GB, free: 15.86 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02824/1.364, allocations: 18.89 MB / 0.9464 GB, free: 12.79 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005991/1.37, allocations: 5.153 MB / 0.9515 GB, free: 7.59 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00156/1.371, allocations: 455.4 kB / 0.9519 GB, free: 7.145 MB / 0.5574 GB Notification: Performance of SimCode: time 6.31e-07/1.371, allocations: 0 / 0.9519 GB, free: 7.145 MB / 0.5574 GB Notification: Performance of Templates: time 0.3554/1.727, allocations: 125.1 MB / 1.074 GB, free: 98.07 MB / 0.5574 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches