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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001337/0.001337, allocations: 111.9 kB / 19.13 MB, free: 3.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 208.9 kB / 22.08 MB, free: 0.9727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 252.3 MB, free: 96 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2366/0.2366, allocations: 46.18 MB / 351.8 MB, free: 14.38 MB / 286.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 85.73 kB / 490.8 MB, free: 27.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1023, allocations: 62.44 MB / 0.5403 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.00148/0.1039, allocations: 495.5 kB / 0.5408 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.1062, allocations: 1.331 MB / 0.5421 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.277e-05/0.1063, allocations: 0 / 0.5421 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.017e-05/0.1063, allocations: 0 / 0.5421 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.648e-06/0.1063, allocations: 0 / 0.5421 GB, free: 2.473 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:4:3-230: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.001359/0.1077, allocations: 0.5999 MB / 0.5427 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.154e-05/0.1077, allocations: 4 kB / 0.5427 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.045e-05/0.1078, allocations: 4 kB / 0.5427 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.18e-05/0.1078, allocations: 0 / 0.5427 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.48e-05/0.1078, allocations: 0 / 0.5427 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.949e-06/0.1078, allocations: 0 / 0.5427 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02307/0.1309, allocations: 3.4 MB / 0.546 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.1309, allocations: 8 kB / 0.546 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.221e-05/0.1309, allocations: 0 / 0.546 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.1313, allocations: 163.7 kB / 0.5462 GB, free: 15.05 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1313, allocations: 0 / 0.5462 GB, free: 15.05 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1313, allocations: 0 / 0.5462 GB, free: 15.05 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1313, allocations: 0 / 0.5462 GB, free: 15.05 MB / 414.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.0004138/0.1317, allocations: 388.8 kB / 0.5465 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.1318, allocations: 8.031 kB / 0.5465 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/0.1318, allocations: 0.9375 kB / 0.5465 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.132, allocations: 168.4 kB / 0.5467 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.132, allocations: 4.375 kB / 0.5467 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-06/0.132, allocations: 384 / 0.5467 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.916e-05/0.1321, allocations: 34.27 kB / 0.5467 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1321, allocations: 192 / 0.5467 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.1321, allocations: 3.938 kB / 0.5467 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1321, allocations: 3.984 kB / 0.5468 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.842e-05/0.1321, allocations: 3.938 kB / 0.5468 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.1323, allocations: 145.7 kB / 0.5469 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.267e-05/0.1324, allocations: 22.61 kB / 0.5469 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.359e-05/0.1324, allocations: 4.859 kB / 0.5469 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-06/0.1324, allocations: 0 / 0.5469 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.019e-05/0.1324, allocations: 68.27 kB / 0.547 GB, free: 14.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.1325, allocations: 0 / 0.547 GB, free: 14.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001587/0.1326, allocations: 71.27 kB / 0.5471 GB, free: 13.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.1327, allocations: 77.11 kB / 0.5471 GB, free: 13.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.145e-05/0.1327, allocations: 93.98 kB / 0.5472 GB, free: 13.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.1328, allocations: 25.7 kB / 0.5472 GB, free: 13.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.1328, allocations: 80.14 kB / 0.5473 GB, free: 13.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.1328, allocations: 0 / 0.5473 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.1329, allocations: 17.72 kB / 0.5473 GB, free: 13.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.133, allocations: 310.8 kB / 0.5476 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-06/0.133, allocations: 0 / 0.5476 GB, free: 13.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.129e-05/0.133, allocations: 8 kB / 0.5476 GB, free: 13.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.444e-05/0.1331, allocations: 64.31 kB / 0.5477 GB, free: 13.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1331, allocations: 0 / 0.5477 GB, free: 13.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.184e-05/0.1332, allocations: 67.34 kB / 0.5478 GB, free: 13.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.31e-05/0.1332, allocations: 33.7 kB / 0.5478 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1332, allocations: 3.938 kB / 0.5478 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1333, allocations: 3.938 kB / 0.5478 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.555e-06/0.1333, allocations: 3.984 kB / 0.5478 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.1333, allocations: 0 / 0.5478 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.639e-05/0.1333, allocations: 3.953 kB / 0.5478 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.1333, allocations: 4.031 kB / 0.5478 GB, free: 13.08 MB / 414.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.923e-05/0.1334, allocations: 135.5 kB / 0.5479 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-06/0.1334, allocations: 0 / 0.5479 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.495e-06/0.1334, allocations: 7.062 kB / 0.548 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.1334, allocations: 0 / 0.548 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1334, allocations: 4 kB / 0.548 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-06/0.1334, allocations: 0 / 0.548 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.1336, allocations: 145.7 kB / 0.5481 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1336, allocations: 0 / 0.5481 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.1336, allocations: 4 kB / 0.5481 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.1336, allocations: 0 / 0.5481 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1336, allocations: 7.938 kB / 0.5481 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.1336, allocations: 0 / 0.5481 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1336, allocations: 0 / 0.5481 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.1337, allocations: 98.77 kB / 0.5482 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.98e-05/0.1338, allocations: 77.11 kB / 0.5483 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.1338, allocations: 3.938 kB / 0.5483 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.657e-06/0.1338, allocations: 4.031 kB / 0.5483 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.345e-06/0.1338, allocations: 0 / 0.5483 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.1338, allocations: 4 kB / 0.5483 GB, free: 12.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.882e-05/0.1339, allocations: 75.28 kB / 0.5484 GB, free: 12.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1339, allocations: 3.938 kB / 0.5484 GB, free: 12.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000289/0.1342, allocations: 71.86 kB / 0.5484 GB, free: 12.35 MB / 414.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.001002/0.1352, allocations: 419.1 kB / 0.5488 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.1353, allocations: 55.41 kB / 0.5489 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1353, allocations: 0 / 0.5489 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.869e-05/0.1353, allocations: 63.33 kB / 0.5489 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001145/0.1355, allocations: 0 / 0.5489 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001842/0.1356, allocations: 106.9 kB / 0.549 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.136, allocations: 0.6729 MB / 0.5497 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.247e-05/0.136, allocations: 11.44 kB / 0.5497 GB, free: 11.01 MB / 414.1 MB Notification: Performance of SimCode: time 2.61e-07/0.136, allocations: 0 / 0.5497 GB, free: 11.01 MB / 414.1 MB Notification: Performance of Templates: time 0.003959/0.1399, allocations: 2.071 MB / 0.5517 GB, free: 8.934 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestStrings/TestStrings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.7413086199667305]