Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001242/0.001242, allocations: 198.3 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009339/0.0009342, allocations: 95.92 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2132/0.2132, allocations: 45.15 MB / 383.8 MB, free: 304 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.225e-05/2.228e-05, allocations: 0 / 453.2 MB, free: 75.86 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1485, allocations: 63.25 MB / 0.5044 GB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4313/0.5799, allocations: 86.49 MB / 0.5888 GB, free: 80 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001741/0.5801, allocations: 61.16 kB / 0.5889 GB, free: 48 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006522/0.5866, allocations: 2.66 MB / 0.5915 GB, free: 13.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.796e-06/0.5867, allocations: 4 kB / 0.5915 GB, free: 13.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.5867, allocations: 3.938 kB / 0.5915 GB, free: 13.85 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005089/0.5872, allocations: 404.3 kB / 0.5919 GB, free: 13.42 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.5873, allocations: 12.78 kB / 0.5919 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.5873, allocations: 15.81 kB / 0.5919 GB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.5875, allocations: 182.8 kB / 0.5921 GB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.5875, allocations: 4 kB / 0.5921 GB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.5876, allocations: 15.91 kB / 0.5921 GB, free: 13.15 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001769/0.5877, allocations: 79.52 kB / 0.5922 GB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.588, allocations: 136.8 kB / 0.5923 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.588, allocations: 0 / 0.5923 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.588, allocations: 7.922 kB / 0.5923 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.588, allocations: 4 kB / 0.5923 GB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008047/0.5888, allocations: 0.5753 MB / 0.5929 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.589, allocations: 117.3 kB / 0.593 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.987e-05/0.5891, allocations: 46.58 kB / 0.593 GB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.5891, allocations: 4.188 kB / 0.593 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.5892, allocations: 34.5 kB / 0.5931 GB, free: 12.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.5892, allocations: 0 / 0.5931 GB, free: 12.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003977/0.5896, allocations: 142 kB / 0.5932 GB, free: 12.1 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.5896, allocations: 89.03 kB / 0.5933 GB, free: 12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.5898, allocations: 113.8 kB / 0.5934 GB, free: 11.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.5898, allocations: 25.7 kB / 0.5934 GB, free: 11.85 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.077e-05/0.5899, allocations: 133.9 kB / 0.5935 GB, free: 11.72 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.5899, allocations: 49.33 kB / 0.5936 GB, free: 11.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.5899, allocations: 0 / 0.5936 GB, free: 11.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.5901, allocations: 324.5 kB / 0.5939 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.279e-05/0.5901, allocations: 36.69 kB / 0.5939 GB, free: 11.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.5902, allocations: 94.55 kB / 0.594 GB, free: 11.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.946e-05/0.5903, allocations: 47.73 kB / 0.5941 GB, free: 11.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5903, allocations: 0 / 0.5941 GB, free: 11.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003168/0.5906, allocations: 200.7 kB / 0.5943 GB, free: 11.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.5907, allocations: 8.094 kB / 0.5943 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.5907, allocations: 3.938 kB / 0.5943 GB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002367/0.5909, allocations: 48.56 kB / 0.5943 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.5911, allocations: 31.98 kB / 0.5944 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002063/0.5932, allocations: 2.621 MB / 0.5969 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.013e-05/0.5933, allocations: 15.75 kB / 0.5969 GB, free: 8.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.5933, allocations: 8 kB / 0.5969 GB, free: 8.172 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.5934, allocations: 112.8 kB / 0.597 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.5935, allocations: 11.91 kB / 0.5971 GB, free: 8.043 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.925e-05/0.5935, allocations: 20.39 kB / 0.5971 GB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.5935, allocations: 4 kB / 0.5971 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.5935, allocations: 7.953 kB / 0.5971 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.5935, allocations: 0 / 0.5971 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.5938, allocations: 192.7 kB / 0.5973 GB, free: 7.812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5938, allocations: 0 / 0.5973 GB, free: 7.812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.594, allocations: 27.98 kB / 0.5973 GB, free: 7.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000118/0.5941, allocations: 41.2 kB / 0.5973 GB, free: 7.746 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.5941, allocations: 4 kB / 0.5973 GB, free: 7.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/0.5959, allocations: 2.608 MB / 0.5999 GB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.596, allocations: 3.938 kB / 0.5999 GB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000423/0.5964, allocations: 380.7 kB / 0.6003 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.5965, allocations: 81.02 kB / 0.6003 GB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.5965, allocations: 4 kB / 0.6003 GB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.661e-05/0.5966, allocations: 4.125 kB / 0.6003 GB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.5966, allocations: 11.98 kB / 0.6004 GB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.5967, allocations: 4 kB / 0.6004 GB, free: 4.535 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.254e-05/0.5967, allocations: 100.9 kB / 0.6005 GB, free: 4.445 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5967, allocations: 0 / 0.6005 GB, free: 4.445 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004908/0.5972, allocations: 55.8 kB / 0.6005 GB, free: 4.391 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.phi,inertia2.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001897/0.5974, allocations: 91.25 kB / 0.6006 GB, free: 4.293 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000557/0.598, allocations: 321.6 kB / 0.6009 GB, free: 3.988 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.598, allocations: 0 / 0.6009 GB, free: 3.988 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003208/0.5983, allocations: 270.9 kB / 0.6012 GB, free: 3.723 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.5988, allocations: 32.41 kB / 0.6012 GB, free: 3.695 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.5998, allocations: 0.5521 MB / 0.6017 GB, free: 3.129 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.6002, allocations: 0.7282 MB / 0.6024 GB, free: 2.371 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.765e-05/0.6002, allocations: 17.19 kB / 0.6025 GB, free: 2.352 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.6003, allocations: 15.44 kB / 0.6025 GB, free: 2.336 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6003, allocations: 0 / 0.6025 GB, free: 2.336 MB / 394.7 MB Notification: Performance of Templates: time 0.004834/0.6051, allocations: 1.691 MB / 0.6041 GB, free: 0.6719 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches