Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009559/0.0009558, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.206/1.206, allocations: 226.5 MB / 244.1 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007562/0.0007562, allocations: 105.1 kB / 296.1 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2894/0.2894, allocations: 44.82 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002349/0.0002349, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2695, allocations: 62.95 MB / 0.5165 GB, free: 36.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09625/0.3658, allocations: 90.11 MB / 0.6045 GB, free: 15.28 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001772/0.366, allocations: 63.97 kB / 0.6045 GB, free: 15.21 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04173/0.4078, allocations: 19.57 MB / 0.6236 GB, free: 11.62 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4078, allocations: 0 / 0.6236 GB, free: 11.62 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.227e-06/0.4078, allocations: 0 / 0.6236 GB, free: 11.62 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006212/0.4084, allocations: 493 kB / 0.6241 GB, free: 11.08 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.4085, allocations: 8.031 kB / 0.6241 GB, free: 11.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.4085, allocations: 4.938 kB / 0.6241 GB, free: 11.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.897e-05/0.4086, allocations: 164.4 kB / 0.6243 GB, free: 10.87 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.4086, allocations: 384 / 0.6243 GB, free: 10.87 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.4086, allocations: 4.375 kB / 0.6243 GB, free: 10.87 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.153e-05/0.4087, allocations: 38.25 kB / 0.6243 GB, free: 10.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.65e-06/0.4087, allocations: 192 / 0.6243 GB, free: 10.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.4087, allocations: 3.938 kB / 0.6243 GB, free: 10.82 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.4088, allocations: 0 / 0.6243 GB, free: 10.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.451e-05/0.4088, allocations: 7.938 kB / 0.6243 GB, free: 10.81 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001181/0.4089, allocations: 145.7 kB / 0.6245 GB, free: 10.62 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.715e-05/0.4089, allocations: 18.61 kB / 0.6245 GB, free: 10.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.206e-05/0.409, allocations: 8.859 kB / 0.6245 GB, free: 10.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/0.409, allocations: 0 / 0.6245 GB, free: 10.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.409, allocations: 64.2 kB / 0.6245 GB, free: 10.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.409, allocations: 0 / 0.6245 GB, free: 10.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001499/0.4092, allocations: 71.33 kB / 0.6246 GB, free: 10.42 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.4092, allocations: 77.11 kB / 0.6247 GB, free: 10.33 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.175e-05/0.4093, allocations: 93.86 kB / 0.6248 GB, free: 10.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.4093, allocations: 25.83 kB / 0.6248 GB, free: 10.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.241e-05/0.4093, allocations: 84.14 kB / 0.6249 GB, free: 10.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.4093, allocations: 4 kB / 0.6249 GB, free: 10.11 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-06/0.4093, allocations: 0 / 0.6249 GB, free: 10.11 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.587e-05/0.4094, allocations: 310.8 kB / 0.6252 GB, free: 9.793 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.283e-06/0.4095, allocations: 0 / 0.6252 GB, free: 9.793 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.233e-06/0.4095, allocations: 4 kB / 0.6252 GB, free: 9.789 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.013e-05/0.4095, allocations: 64.25 kB / 0.6252 GB, free: 9.711 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.4095, allocations: 4.062 kB / 0.6252 GB, free: 9.707 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.231e-05/0.4096, allocations: 67.25 kB / 0.6253 GB, free: 9.629 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.4096, allocations: 37.64 kB / 0.6253 GB, free: 9.586 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.4096, allocations: 0 / 0.6253 GB, free: 9.586 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.4097, allocations: 3.938 kB / 0.6253 GB, free: 9.582 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.4097, allocations: 0 / 0.6253 GB, free: 9.582 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.4097, allocations: 0 / 0.6253 GB, free: 9.582 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.148e-05/0.4097, allocations: 0 / 0.6253 GB, free: 9.582 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.4097, allocations: 3.984 kB / 0.6254 GB, free: 9.578 MB / 442.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 8.275e-05/0.4098, allocations: 139.6 kB / 0.6255 GB, free: 9.426 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-06/0.4098, allocations: 0 / 0.6255 GB, free: 9.426 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.265e-05/0.4098, allocations: 10.66 kB / 0.6255 GB, free: 9.418 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.4098, allocations: 0 / 0.6255 GB, free: 9.418 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.4098, allocations: 4 kB / 0.6255 GB, free: 9.414 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.4099, allocations: 0 / 0.6255 GB, free: 9.414 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.723e-05/0.4099, allocations: 145.7 kB / 0.6256 GB, free: 9.223 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.41, allocations: 0 / 0.6256 GB, free: 9.223 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.41, allocations: 0 / 0.6256 GB, free: 9.223 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.51e-07/0.41, allocations: 0 / 0.6256 GB, free: 9.223 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.41, allocations: 7.938 kB / 0.6256 GB, free: 9.215 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.41, allocations: 4 kB / 0.6257 GB, free: 9.211 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.41, allocations: 0 / 0.6257 GB, free: 9.211 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.522e-05/0.4101, allocations: 94.77 kB / 0.6257 GB, free: 9.094 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.4101, allocations: 77.11 kB / 0.6258 GB, free: 9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.4101, allocations: 7.938 kB / 0.6258 GB, free: 8.992 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.368e-06/0.4102, allocations: 4 kB / 0.6258 GB, free: 8.988 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.29e-05/0.4102, allocations: 0 / 0.6258 GB, free: 8.988 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.4102, allocations: 8.031 kB / 0.6258 GB, free: 8.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.233e-05/0.4102, allocations: 75.28 kB / 0.6259 GB, free: 8.906 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4102, allocations: 3.938 kB / 0.6259 GB, free: 8.902 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006352/0.4109, allocations: 251.7 kB / 0.6261 GB, free: 8.656 MB / 442.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.001209/0.4121, allocations: 0.6593 MB / 0.6268 GB, free: 8.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.786e-05/0.4122, allocations: 55.41 kB / 0.6268 GB, free: 8.004 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4122, allocations: 3.938 kB / 0.6268 GB, free: 8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.588e-05/0.4122, allocations: 55.41 kB / 0.6269 GB, free: 7.934 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001187/0.4123, allocations: 9.953 kB / 0.6269 GB, free: 7.926 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001506/0.4125, allocations: 100.6 kB / 0.627 GB, free: 7.793 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.4127, allocations: 0.6692 MB / 0.6277 GB, free: 7.098 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.246e-05/0.4127, allocations: 11.44 kB / 0.6277 GB, free: 7.086 MB / 442.7 MB Notification: Performance of SimCode: time 2.01e-07/0.4127, allocations: 0 / 0.6277 GB, free: 7.086 MB / 442.7 MB Notification: Performance of Templates: time 0.006179/0.4189, allocations: 4.318 MB / 0.6319 GB, free: 2.762 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestStrings.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestStrings --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestStrings.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestStrings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestStrings/TestStrings.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestStrings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches