Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.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.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001064/0.001064, allocations: 197.4 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 226.5 MB / 245.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008011/0.0008013, allocations: 85.64 kB / 297.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3586/0.3586, allocations: 44.82 MB / 394.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002964/0.0002966, allocations: 8 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3492, allocations: 62.96 MB / 0.5184 GB, free: 37.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1241/0.4733, allocations: 88.56 MB / 0.6049 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.4736, allocations: 71.95 kB / 0.605 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01796/0.4915, allocations: 6.493 MB / 0.6113 GB, free: 10.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.4916, allocations: 0 / 0.6113 GB, free: 10.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.4916, allocations: 0 / 0.6113 GB, free: 10.16 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005186/0.4921, allocations: 417.2 kB / 0.6117 GB, free: 9.699 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.4922, allocations: 8.031 kB / 0.6117 GB, free: 9.691 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.4922, allocations: 4.938 kB / 0.6117 GB, free: 9.688 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.4924, allocations: 164.4 kB / 0.6119 GB, free: 9.488 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.4924, allocations: 4.375 kB / 0.6119 GB, free: 9.484 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.4924, allocations: 4.375 kB / 0.6119 GB, free: 9.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.896e-05/0.4925, allocations: 34.19 kB / 0.6119 GB, free: 9.441 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.4925, allocations: 192 / 0.6119 GB, free: 9.441 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.4925, allocations: 3.938 kB / 0.6119 GB, free: 9.438 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.4925, allocations: 4 kB / 0.6119 GB, free: 9.434 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.749e-05/0.4926, allocations: 3.938 kB / 0.6119 GB, free: 9.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.4927, allocations: 145.7 kB / 0.6121 GB, free: 9.238 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.339e-05/0.4928, allocations: 26.59 kB / 0.6121 GB, free: 9.203 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.56e-05/0.4928, allocations: 4.859 kB / 0.6121 GB, free: 9.195 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.4928, allocations: 3.984 kB / 0.6121 GB, free: 9.191 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/0.4929, allocations: 64.27 kB / 0.6122 GB, free: 9.113 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.4929, allocations: 0 / 0.6122 GB, free: 9.113 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.00018/0.4931, allocations: 63.34 kB / 0.6122 GB, free: 9.039 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.4931, allocations: 81.23 kB / 0.6123 GB, free: 8.941 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.935e-05/0.4932, allocations: 101.8 kB / 0.6124 GB, free: 8.832 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.4932, allocations: 25.7 kB / 0.6124 GB, free: 8.801 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.4933, allocations: 80.14 kB / 0.6125 GB, free: 8.719 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.4933, allocations: 3.906 kB / 0.6125 GB, free: 8.715 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-06/0.4933, allocations: 0 / 0.6125 GB, free: 8.715 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.4934, allocations: 314.8 kB / 0.6128 GB, free: 8.398 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.686e-06/0.4934, allocations: 0 / 0.6128 GB, free: 8.398 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.486e-06/0.4935, allocations: 8.062 kB / 0.6128 GB, free: 8.391 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.249e-05/0.4935, allocations: 64.27 kB / 0.6129 GB, free: 8.312 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4935, allocations: 0 / 0.6129 GB, free: 8.312 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.282e-05/0.4936, allocations: 63.39 kB / 0.6129 GB, free: 8.238 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/0.4937, allocations: 36.36 kB / 0.613 GB, free: 8.199 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.4937, allocations: 3.938 kB / 0.613 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.4937, allocations: 0 / 0.613 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.353e-06/0.4937, allocations: 0 / 0.613 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4937, allocations: 0 / 0.613 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.361e-05/0.4937, allocations: 4.094 kB / 0.613 GB, free: 8.191 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.4938, allocations: 3.938 kB / 0.613 GB, free: 8.188 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.392e-05/0.4939, allocations: 143.5 kB / 0.6131 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-06/0.4939, allocations: 0 / 0.6131 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.569e-05/0.4939, allocations: 10.66 kB / 0.6131 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.4939, allocations: 7.938 kB / 0.6131 GB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4939, allocations: 0 / 0.6131 GB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.4939, allocations: 0 / 0.6131 GB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.851e-05/0.494, allocations: 145.7 kB / 0.6133 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.494, allocations: 4 kB / 0.6133 GB, free: 7.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-06/0.494, allocations: 4 kB / 0.6133 GB, free: 7.816 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.494, allocations: 3.938 kB / 0.6133 GB, free: 7.812 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.4941, allocations: 3.938 kB / 0.6133 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.4941, allocations: 0 / 0.6133 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4941, allocations: 0 / 0.6133 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.4942, allocations: 90.83 kB / 0.6134 GB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.4943, allocations: 81.14 kB / 0.6134 GB, free: 7.598 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.4943, allocations: 7.938 kB / 0.6134 GB, free: 7.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.156e-05/0.4943, allocations: 4 kB / 0.6135 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.4943, allocations: 0 / 0.6135 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.4943, allocations: 0 / 0.6135 GB, free: 7.586 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.068e-05/0.4944, allocations: 87.27 kB / 0.6135 GB, free: 7.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4944, allocations: 0 / 0.6135 GB, free: 7.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004323/0.4948, allocations: 103.8 kB / 0.6136 GB, free: 7.398 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008536/0.4957, allocations: 392.1 kB / 0.614 GB, free: 7.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.255e-05/0.4958, allocations: 63.41 kB / 0.6141 GB, free: 6.996 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4958, allocations: 0 / 0.6141 GB, free: 6.996 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.096e-05/0.4958, allocations: 51.41 kB / 0.6141 GB, free: 6.934 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.496, allocations: 4 kB / 0.6141 GB, free: 6.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002111/0.4962, allocations: 82.75 kB / 0.6142 GB, free: 6.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.4965, allocations: 0.6733 MB / 0.6149 GB, free: 6.121 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.602e-06/0.4965, allocations: 0 / 0.6149 GB, free: 6.121 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.49e-05/0.4965, allocations: 11.44 kB / 0.6149 GB, free: 6.109 MB / 426.7 MB Notification: Performance of SimCode: time 1.984e-06/0.4965, allocations: 0 / 0.6149 GB, free: 6.109 MB / 426.7 MB Notification: Performance of Templates: time 0.005066/0.5016, allocations: 1.903 MB / 0.6167 GB, free: 4.211 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestFiles/TestFiles.csv","../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches