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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001097/0.001097, allocations: 117.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001192, allocations: 203.8 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2287/0.2287, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 79.86 kB / 481.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3889, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001514/0.3905, allocations: 486.7 kB / 0.5314 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002346/0.3928, allocations: 1.291 MB / 0.5327 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.795e-05/0.3929, allocations: 1.375 kB / 0.5327 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.087e-05/0.3929, allocations: 0 / 0.5327 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.661e-06/0.3929, allocations: 3.938 kB / 0.5327 GB, free: 12.27 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:4:3-219:14:writable] Warning: Pure function 'ModelicaTest.Utilities.Strings' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.3946, allocations: 0.578 MB / 0.5333 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.888e-05/0.3947, allocations: 5.359 kB / 0.5333 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.473e-05/0.3947, allocations: 9.359 kB / 0.5333 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.82e-05/0.3947, allocations: 1.375 kB / 0.5333 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.203e-05/0.3948, allocations: 0 / 0.5333 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.662e-06/0.3948, allocations: 0 / 0.5333 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01312/0.4079, allocations: 2.527 MB / 0.5357 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.408, allocations: 0 / 0.5357 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.408, allocations: 4 kB / 0.5357 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004804/0.4085, allocations: 167 kB / 0.5359 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.405e-05/0.4085, allocations: 4.891 kB / 0.5359 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4086, allocations: 0 / 0.5359 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.4086, allocations: 0 / 0.5359 GB, free: 10.84 MB / 398.1 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.0004648/0.409, allocations: 371.8 kB / 0.5363 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.4091, allocations: 8.656 kB / 0.5363 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.197e-05/0.4092, allocations: 1.875 kB / 0.5363 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.4093, allocations: 160.4 kB / 0.5364 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.4093, allocations: 5.438 kB / 0.5364 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.4093, allocations: 5.562 kB / 0.5364 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.4094, allocations: 40.31 kB / 0.5365 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.557e-06/0.4095, allocations: 0 / 0.5365 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.4095, allocations: 0 / 0.5365 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.4095, allocations: 0 / 0.5365 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.272e-05/0.4095, allocations: 2.125 kB / 0.5365 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/0.4097, allocations: 142.8 kB / 0.5366 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.229e-05/0.4098, allocations: 20.58 kB / 0.5366 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.4098, allocations: 9.953 kB / 0.5366 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.4098, allocations: 0 / 0.5366 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.07e-05/0.4099, allocations: 77.41 kB / 0.5367 GB, free: 9.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.4099, allocations: 1.219 kB / 0.5367 GB, free: 9.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002018/0.4101, allocations: 58.53 kB / 0.5368 GB, free: 9.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.4102, allocations: 78.23 kB / 0.5369 GB, free: 9.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.985e-05/0.4102, allocations: 89.86 kB / 0.5369 GB, free: 9.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.4102, allocations: 29.83 kB / 0.537 GB, free: 9.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.974e-05/0.4103, allocations: 81.17 kB / 0.537 GB, free: 9.512 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.4103, allocations: 7.922 kB / 0.5371 GB, free: 9.504 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.4104, allocations: 16.41 kB / 0.5371 GB, free: 9.484 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.4105, allocations: 316.1 kB / 0.5374 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.322e-05/0.4105, allocations: 0 / 0.5374 GB, free: 9.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.733e-06/0.4105, allocations: 1.25 kB / 0.5374 GB, free: 9.168 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.874e-05/0.4106, allocations: 63.83 kB / 0.5374 GB, free: 9.094 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4106, allocations: 0 / 0.5374 GB, free: 9.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.872e-05/0.4107, allocations: 66.83 kB / 0.5375 GB, free: 9.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.735e-05/0.4107, allocations: 34.86 kB / 0.5375 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.4108, allocations: 0 / 0.5375 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.4108, allocations: 1.844 kB / 0.5375 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.4108, allocations: 0 / 0.5375 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.4108, allocations: 0 / 0.5375 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.322e-05/0.4108, allocations: 1.906 kB / 0.5375 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-06/0.4108, allocations: 3.938 kB / 0.5375 GB, free: 8.984 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.4109, allocations: 141.9 kB / 0.5377 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.411, allocations: 11.86 kB / 0.5377 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.102e-05/0.411, allocations: 4.812 kB / 0.5377 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.411, allocations: 0 / 0.5377 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.411, allocations: 0 / 0.5377 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.411, allocations: 0 / 0.5377 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.4111, allocations: 147.8 kB / 0.5378 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4112, allocations: 0 / 0.5378 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.429e-06/0.4112, allocations: 1.375 kB / 0.5378 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-06/0.4112, allocations: 7.922 kB / 0.5378 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.4112, allocations: 5.438 kB / 0.5378 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4112, allocations: 0 / 0.5378 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4112, allocations: 3.984 kB / 0.5378 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.4114, allocations: 86.22 kB / 0.5379 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.4114, allocations: 88.97 kB / 0.538 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.4115, allocations: 5.016 kB / 0.538 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.611e-05/0.4115, allocations: 1.094 kB / 0.538 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/0.4115, allocations: 9.094 kB / 0.538 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.4115, allocations: 0 / 0.538 GB, free: 8.398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.632e-05/0.4116, allocations: 76.34 kB / 0.5381 GB, free: 8.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4116, allocations: 0 / 0.5381 GB, free: 8.324 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004312/0.412, allocations: 69.11 kB / 0.5382 GB, free: 8.309 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001138/0.4131, allocations: 398.3 kB / 0.5385 GB, free: 8.094 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001389/0.4133, allocations: 57.16 kB / 0.5386 GB, free: 8.031 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4133, allocations: 0 / 0.5386 GB, free: 8.031 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.995e-05/0.4134, allocations: 58.77 kB / 0.5387 GB, free: 7.965 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.4135, allocations: 2.25 kB / 0.5387 GB, free: 7.965 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002527/0.4138, allocations: 87.64 kB / 0.5387 GB, free: 7.859 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.4141, allocations: 0.6703 MB / 0.5394 GB, free: 7.164 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.143e-06/0.4141, allocations: 5.094 kB / 0.5394 GB, free: 7.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.4141, allocations: 9.906 kB / 0.5394 GB, free: 7.152 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4141, allocations: 3.938 kB / 0.5394 GB, free: 7.148 MB / 398.1 MB Notification: Performance of Templates: time 0.006021/0.4202, allocations: 2.121 MB / 0.5415 GB, free: 6.047 MB / 398.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches