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.001248/0.001248, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 208.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.243/1.243, allocations: 227.4 MB / 247.6 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1857/0.1857, allocations: 46.1 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 75.88 kB / 481.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2735, allocations: 62.44 MB / 0.5316 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001354/0.2748, allocations: 496.3 kB / 0.5321 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.277, allocations: 1.283 MB / 0.5334 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.594e-05/0.277, allocations: 0 / 0.5334 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.037e-05/0.277, allocations: 0 / 0.5334 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.418e-06/0.277, allocations: 5.125 kB / 0.5334 GB, free: 12.31 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.001293/0.2783, allocations: 0.5743 MB / 0.5339 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.515e-05/0.2784, allocations: 9.297 kB / 0.5339 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.074e-05/0.2784, allocations: 9.516 kB / 0.5339 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.191e-05/0.2784, allocations: 0 / 0.5339 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.665e-05/0.2784, allocations: 1.719 kB / 0.5339 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.829e-06/0.2785, allocations: 0 / 0.5339 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01152/0.29, allocations: 2.526 MB / 0.5364 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.896e-06/0.29, allocations: 1.344 kB / 0.5364 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.92e-05/0.2901, allocations: 0 / 0.5364 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.2904, allocations: 163.3 kB / 0.5366 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.2904, allocations: 3.984 kB / 0.5366 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2904, allocations: 0 / 0.5366 GB, free: 10.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.2904, allocations: 1.5 kB / 0.5366 GB, free: 10.89 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.0003152/0.2907, allocations: 374.8 kB / 0.5369 GB, free: 10.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.2908, allocations: 13.22 kB / 0.5369 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.2908, allocations: 4.938 kB / 0.537 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.708e-05/0.2909, allocations: 160.4 kB / 0.5371 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.2909, allocations: 1.5 kB / 0.5371 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-06/0.2909, allocations: 1.469 kB / 0.5371 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.418e-05/0.291, allocations: 40.69 kB / 0.5371 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-06/0.291, allocations: 0 / 0.5371 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.221e-06/0.291, allocations: 0 / 0.5371 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.291, allocations: 0 / 0.5371 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.411e-05/0.291, allocations: 1.375 kB / 0.5371 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001049/0.2912, allocations: 151 kB / 0.5373 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.854e-05/0.2912, allocations: 17.39 kB / 0.5373 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.524e-05/0.2912, allocations: 5.984 kB / 0.5373 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.011e-06/0.2912, allocations: 7.875 kB / 0.5373 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.2913, allocations: 65.38 kB / 0.5374 GB, free: 9.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.2913, allocations: 3.938 kB / 0.5374 GB, free: 9.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001367/0.2914, allocations: 68.09 kB / 0.5375 GB, free: 9.855 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.2915, allocations: 77.11 kB / 0.5375 GB, free: 9.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.635e-05/0.2915, allocations: 90.95 kB / 0.5376 GB, free: 9.664 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.367e-06/0.2915, allocations: 25.7 kB / 0.5376 GB, free: 9.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.107e-05/0.2916, allocations: 80.14 kB / 0.5377 GB, free: 9.551 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.2916, allocations: 8.922 kB / 0.5377 GB, free: 9.543 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/0.2916, allocations: 11.94 kB / 0.5377 GB, free: 9.527 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.055e-05/0.2917, allocations: 312.1 kB / 0.538 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-06/0.2917, allocations: 4.125 kB / 0.538 GB, free: 9.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.683e-06/0.2917, allocations: 5.875 kB / 0.538 GB, free: 9.207 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.091e-05/0.2918, allocations: 63.83 kB / 0.5381 GB, free: 9.133 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2918, allocations: 0 / 0.5381 GB, free: 9.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.686e-05/0.2919, allocations: 62.02 kB / 0.5382 GB, free: 9.066 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.2919, allocations: 37.89 kB / 0.5382 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.2919, allocations: 0.8125 kB / 0.5382 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.2919, allocations: 0 / 0.5382 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.2919, allocations: 4.938 kB / 0.5382 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.2919, allocations: 0 / 0.5382 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.428e-05/0.292, allocations: 1.062 kB / 0.5382 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.292, allocations: 1 kB / 0.5382 GB, free: 9.027 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 6.72e-05/0.292, allocations: 141.7 kB / 0.5383 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.2921, allocations: 9.047 kB / 0.5383 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.305e-06/0.2921, allocations: 11.05 kB / 0.5384 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.2921, allocations: 1.125 kB / 0.5384 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2921, allocations: 0 / 0.5384 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.2921, allocations: 4 kB / 0.5384 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.132e-05/0.2922, allocations: 143.9 kB / 0.5385 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.2922, allocations: 0 / 0.5385 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.2922, allocations: 0 / 0.5385 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.2922, allocations: 9.047 kB / 0.5385 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.2922, allocations: 1.125 kB / 0.5385 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.2922, allocations: 0 / 0.5385 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2922, allocations: 0 / 0.5385 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.85e-05/0.2923, allocations: 97.84 kB / 0.5386 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.845e-05/0.2923, allocations: 86.16 kB / 0.5387 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.2924, allocations: 1 kB / 0.5387 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.666e-06/0.2924, allocations: 1.031 kB / 0.5387 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-06/0.2924, allocations: 0 / 0.5387 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.2924, allocations: 1.125 kB / 0.5387 GB, free: 8.449 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.283e-05/0.2924, allocations: 75.28 kB / 0.5388 GB, free: 8.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.282e-06/0.2924, allocations: 0 / 0.5388 GB, free: 8.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00027/0.2927, allocations: 78.52 kB / 0.5388 GB, free: 8.352 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.0007036/0.2934, allocations: 388.4 kB / 0.5392 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.456e-05/0.2935, allocations: 56.56 kB / 0.5393 GB, free: 8.086 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2935, allocations: 0 / 0.5393 GB, free: 8.086 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.11e-05/0.2936, allocations: 62.52 kB / 0.5393 GB, free: 8.016 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001123/0.2937, allocations: 10.25 kB / 0.5393 GB, free: 8.008 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001639/0.2938, allocations: 106.5 kB / 0.5394 GB, free: 7.879 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.2941, allocations: 0.6699 MB / 0.5401 GB, free: 7.184 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.223e-05/0.2941, allocations: 9.656 kB / 0.5401 GB, free: 7.176 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2941, allocations: 1.031 kB / 0.5401 GB, free: 7.176 MB / 398.1 MB Notification: Performance of Templates: time 0.003241/0.2973, allocations: 2.024 MB / 0.5421 GB, free: 6.148 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestStrings/TestStrings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches