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.001569/0.001569, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001893/0.001893, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2121/0.2121, allocations: 46.09 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 79.86 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1089, allocations: 62.45 MB / 481.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001804/0.1108, allocations: 478.8 kB / 481.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002293/0.1131, allocations: 1.295 MB / 483.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.393e-05/0.1131, allocations: 0 / 483.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.436e-05/0.1131, allocations: 7.938 kB / 483.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.419e-06/0.1132, allocations: 0 / 483.2 MB, free: 2.762 MB / 350.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.001357/0.1145, allocations: 0.5804 MB / 483.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.194e-05/0.1146, allocations: 0 / 483.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.333e-05/0.1146, allocations: 0 / 483.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.7e-05/0.1146, allocations: 3.984 kB / 483.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.019e-05/0.1147, allocations: 11.92 kB / 483.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.71e-06/0.1147, allocations: 0 / 483.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01261/0.1273, allocations: 2.521 MB / 486.3 MB, free: 164 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.098e-05/0.1273, allocations: 0 / 486.3 MB, free: 164 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.1274, allocations: 3.984 kB / 486.3 MB, free: 160 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003818/0.1277, allocations: 159.8 kB / 486.5 MB, free: 0 / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.906e-05/0.1278, allocations: 0 / 486.5 MB, free: 0 / 350.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.1278, allocations: 112 / 486.5 MB, free: 16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1278, allocations: 3.938 kB / 486.5 MB, free: 15.99 MB / 366.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.0003557/0.1282, allocations: 385.2 kB / 486.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1282, allocations: 12.03 kB / 486.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.1282, allocations: 0.9375 kB / 486.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.043e-05/0.1283, allocations: 160.4 kB / 487.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1283, allocations: 384 / 487.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.1284, allocations: 384 / 487.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.77e-05/0.1285, allocations: 37.83 kB / 487.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.1285, allocations: 0 / 487.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.1285, allocations: 7.812 kB / 487.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1285, allocations: 0 / 487.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.94e-05/0.1285, allocations: 8 kB / 487.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001202/0.1286, allocations: 145.6 kB / 487.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.668e-05/0.1287, allocations: 18.52 kB / 487.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.647e-05/0.1287, allocations: 8.953 kB / 487.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/0.1287, allocations: 0 / 487.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/0.1288, allocations: 64.2 kB / 487.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.1288, allocations: 0 / 487.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001611/0.1289, allocations: 71.33 kB / 487.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.129, allocations: 77.11 kB / 487.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.761e-05/0.1291, allocations: 89.86 kB / 487.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.1291, allocations: 25.7 kB / 487.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.892e-05/0.1291, allocations: 84.14 kB / 487.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.1291, allocations: 4 kB / 487.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.1292, allocations: 13.7 kB / 487.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.1293, allocations: 315 kB / 488 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.188e-05/0.1293, allocations: 4 kB / 488 MB, free: 14.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.623e-06/0.1293, allocations: 0 / 488 MB, free: 14.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.553e-05/0.1293, allocations: 60.27 kB / 488.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1293, allocations: 0 / 488.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.922e-05/0.1294, allocations: 75.33 kB / 488.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.1295, allocations: 33.64 kB / 488.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1295, allocations: 0 / 488.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1295, allocations: 0 / 488.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.1295, allocations: 4.094 kB / 488.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1295, allocations: 0 / 488.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.637e-05/0.1295, allocations: 4 kB / 488.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.1295, allocations: 0 / 488.2 MB, free: 14.05 MB / 366.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 8.281e-05/0.1296, allocations: 131.5 kB / 488.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.1296, allocations: 7.938 kB / 488.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.017e-05/0.1297, allocations: 7.109 kB / 488.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1297, allocations: 0 / 488.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1297, allocations: 0 / 488.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1297, allocations: 4 kB / 488.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.047e-05/0.1298, allocations: 149.6 kB / 488.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1298, allocations: 0 / 488.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-06/0.1298, allocations: 7.984 kB / 488.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.1298, allocations: 3.938 kB / 488.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.1298, allocations: 0 / 488.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.1298, allocations: 3.984 kB / 488.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1298, allocations: 0 / 488.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.035e-05/0.1299, allocations: 94.78 kB / 488.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.151e-05/0.13, allocations: 81.05 kB / 488.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.13, allocations: 3.984 kB / 488.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.057e-06/0.13, allocations: 3.938 kB / 488.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-06/0.13, allocations: 4 kB / 488.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.13, allocations: 0 / 488.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.568e-05/0.13, allocations: 75.28 kB / 488.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.13, allocations: 0 / 488.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002922/0.1303, allocations: 67.98 kB / 488.8 MB, free: 13.31 MB / 366.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.0008799/0.1312, allocations: 400.8 kB / 489.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.226e-05/0.1313, allocations: 55.41 kB / 489.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1313, allocations: 0 / 489.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.943e-05/0.1314, allocations: 55.47 kB / 489.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.1315, allocations: 8.047 kB / 489.3 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000195/0.1317, allocations: 88.78 kB / 489.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.1319, allocations: 0.6729 MB / 490.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.041e-06/0.132, allocations: 0 / 490.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.696e-05/0.132, allocations: 7.438 kB / 490.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.132, allocations: 3.938 kB / 490.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of Templates: time 0.004843/0.1368, allocations: 2.123 MB / 492.2 MB, free: 9.887 MB / 366.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 -s gbode -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