Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.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.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001097/0.001097, allocations: 198.2 kB / 8.768 MB, free: 312 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000913/0.000913, allocations: 95.16 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2002/0.2002, allocations: 45.15 MB / 383.8 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.842e-05/1.844e-05, allocations: 0 / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1188, allocations: 63.25 MB / 0.5043 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4115/0.5303, allocations: 89.5 MB / 0.5918 GB, free: 13.19 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001608/0.5305, allocations: 57.59 kB / 0.5918 GB, free: 13.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03908/0.5696, allocations: 16.99 MB / 0.6084 GB, free: 15.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.5697, allocations: 0 / 0.6084 GB, free: 15.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.5697, allocations: 0 / 0.6084 GB, free: 15.44 MB / 410.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.0006782/0.5704, allocations: 497.4 kB / 0.6089 GB, free: 14.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.5704, allocations: 8.031 kB / 0.6089 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.5705, allocations: 7.953 kB / 0.6089 GB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.844e-05/0.5706, allocations: 159.1 kB / 0.609 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.5706, allocations: 0 / 0.609 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.5706, allocations: 4 kB / 0.6091 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.411e-05/0.5706, allocations: 0 / 0.6091 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.257e-05/0.5707, allocations: 29.69 kB / 0.6091 GB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.5707, allocations: 7.922 kB / 0.6091 GB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.5707, allocations: 4 kB / 0.6091 GB, free: 14.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.5708, allocations: 3.953 kB / 0.6091 GB, free: 14.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001098/0.5709, allocations: 126.2 kB / 0.6092 GB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.884e-05/0.5709, allocations: 18.58 kB / 0.6092 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.539e-05/0.5709, allocations: 12.33 kB / 0.6092 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.664e-06/0.571, allocations: 0 / 0.6092 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.364e-05/0.571, allocations: 56.27 kB / 0.6093 GB, free: 14.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.571, allocations: 0 / 0.6093 GB, free: 14.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001766/0.5712, allocations: 33.69 kB / 0.6093 GB, free: 14.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.5712, allocations: 89.08 kB / 0.6094 GB, free: 14.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.557e-05/0.5713, allocations: 85 kB / 0.6095 GB, free: 14.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.5713, allocations: 25.7 kB / 0.6095 GB, free: 14.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.528e-05/0.5713, allocations: 83.58 kB / 0.6096 GB, free: 14.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.5714, allocations: 0 / 0.6096 GB, free: 14.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/0.5714, allocations: 0 / 0.6096 GB, free: 14.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.709e-05/0.5715, allocations: 314.8 kB / 0.6099 GB, free: 13.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.829e-06/0.5715, allocations: 4 kB / 0.6099 GB, free: 13.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.564e-06/0.5715, allocations: 4 kB / 0.6099 GB, free: 13.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.96e-05/0.5715, allocations: 3.938 kB / 0.6099 GB, free: 13.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.5716, allocations: 0 / 0.6099 GB, free: 13.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.842e-05/0.5716, allocations: 41.59 kB / 0.61 GB, free: 13.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.5717, allocations: 29.7 kB / 0.61 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5717, allocations: 0 / 0.61 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.5717, allocations: 0 / 0.61 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.5717, allocations: 0 / 0.61 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.5717, allocations: 4 kB / 0.61 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.204e-05/0.5717, allocations: 0 / 0.61 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.5718, allocations: 4.094 kB / 0.61 GB, free: 13.61 MB / 410.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 () * 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 7.932e-05/0.5718, allocations: 140.9 kB / 0.6101 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-06/0.5719, allocations: 7.938 kB / 0.6101 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.513e-05/0.5719, allocations: 7.703 kB / 0.6101 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.5719, allocations: 0 / 0.6101 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5719, allocations: 0 / 0.6101 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.5719, allocations: 3.938 kB / 0.6101 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.361e-05/0.572, allocations: 122.2 kB / 0.6103 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.572, allocations: 3.953 kB / 0.6103 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.62e-07/0.572, allocations: 8 kB / 0.6103 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.572, allocations: 0 / 0.6103 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.572, allocations: 7.984 kB / 0.6103 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.572, allocations: 0 / 0.6103 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.572, allocations: 0 / 0.6103 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.261e-05/0.5721, allocations: 60.64 kB / 0.6103 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.5722, allocations: 81.06 kB / 0.6104 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.5722, allocations: 3.984 kB / 0.6104 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.136e-06/0.5722, allocations: 4.031 kB / 0.6104 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.811e-05/0.5722, allocations: 0 / 0.6104 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.5722, allocations: 4 kB / 0.6104 GB, free: 13.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.597e-05/0.5723, allocations: 75.28 kB / 0.6105 GB, free: 13.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5723, allocations: 0 / 0.6105 GB, free: 13.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004489/0.5727, allocations: 138.1 kB / 0.6106 GB, free: 12.89 MB / 410.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) * 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.001023/0.5738, allocations: 0.4916 MB / 0.6111 GB, free: 12.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.419e-05/0.5739, allocations: 55.41 kB / 0.6112 GB, free: 12.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5739, allocations: 4.062 kB / 0.6112 GB, free: 12.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.018e-05/0.5739, allocations: 55.41 kB / 0.6112 GB, free: 12.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.204e-05/0.574, allocations: 7.922 kB / 0.6112 GB, free: 12.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001495/0.5741, allocations: 52.39 kB / 0.6113 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.5744, allocations: 0.6729 MB / 0.6119 GB, free: 11.53 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.392e-06/0.5744, allocations: 3.984 kB / 0.6119 GB, free: 11.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.592e-05/0.5744, allocations: 11.44 kB / 0.6119 GB, free: 11.51 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5744, allocations: 0 / 0.6119 GB, free: 11.51 MB / 410.7 MB Notification: Performance of Templates: time 0.005643/0.5801, allocations: 2.74 MB / 0.6146 GB, free: 8.789 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestStrings/TestStrings.csv","../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches