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.001469/0.00147, allocations: 118 kB / 18.46 MB, free: 4.613 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.00158/0.00158, allocations: 207.4 kB / 21.4 MB, free: 1.668 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.536/1.536, allocations: 227.4 MB / 251.7 MB, free: 15.92 MB / 206.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.2344/0.2344, allocations: 46.17 MB / 351.1 MB, free: 14.28 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.002218/0.002218, allocations: 77.03 kB / 490.2 MB, free: 28.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1243, allocations: 62.45 MB / 0.5397 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001533/0.1259, allocations: 492.3 kB / 0.5401 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002437/0.1284, allocations: 1.324 MB / 0.5414 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.509e-05/0.1284, allocations: 4 kB / 0.5414 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.237e-05/0.1284, allocations: 0 / 0.5414 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.919e-06/0.1284, allocations: 0 / 0.5414 GB, free: 2.48 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.001444/0.1299, allocations: 0.5998 MB / 0.542 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.254e-05/0.1299, allocations: 4 kB / 0.542 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.234e-05/0.13, allocations: 0 / 0.542 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.637e-05/0.13, allocations: 7.984 kB / 0.542 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.072e-05/0.13, allocations: 7.938 kB / 0.542 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.149e-06/0.13, allocations: 4 kB / 0.542 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02263/0.1527, allocations: 3.385 MB / 0.5453 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.1527, allocations: 0 / 0.5453 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.1527, allocations: 7.922 kB / 0.5453 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004202/0.1532, allocations: 155.7 kB / 0.5455 GB, free: 15.06 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1532, allocations: 4 kB / 0.5455 GB, free: 15.05 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1532, allocations: 0 / 0.5455 GB, free: 15.05 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1532, allocations: 4 kB / 0.5455 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.0004489/0.1537, allocations: 384.8 kB / 0.5459 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.1537, allocations: 12.03 kB / 0.5459 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.1537, allocations: 0.9375 kB / 0.5459 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.1539, allocations: 164.4 kB / 0.546 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1539, allocations: 384 / 0.546 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.1539, allocations: 384 / 0.546 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.978e-05/0.154, allocations: 42.14 kB / 0.5461 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.154, allocations: 192 / 0.5461 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1541, allocations: 7.922 kB / 0.5461 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1541, allocations: 0 / 0.5461 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.869e-05/0.1541, allocations: 0 / 0.5461 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/0.1543, allocations: 153.7 kB / 0.5462 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.151e-05/0.1543, allocations: 14.58 kB / 0.5462 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.8e-05/0.1543, allocations: 8.953 kB / 0.5463 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.108e-06/0.1543, allocations: 4 kB / 0.5463 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.83e-05/0.1544, allocations: 60.2 kB / 0.5463 GB, free: 14.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/0.1544, allocations: 0 / 0.5463 GB, free: 14.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001985/0.1546, allocations: 75.31 kB / 0.5464 GB, free: 13.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.1547, allocations: 77.11 kB / 0.5465 GB, free: 13.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.528e-05/0.1548, allocations: 89.86 kB / 0.5465 GB, free: 13.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1548, allocations: 25.7 kB / 0.5466 GB, free: 13.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.1549, allocations: 84.27 kB / 0.5467 GB, free: 13.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.1549, allocations: 4 kB / 0.5467 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.1549, allocations: 9.719 kB / 0.5467 GB, free: 13.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1551, allocations: 314.8 kB / 0.547 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.681e-05/0.1551, allocations: 4 kB / 0.547 GB, free: 13.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-06/0.1551, allocations: 3.938 kB / 0.547 GB, free: 13.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.329e-05/0.1552, allocations: 68.19 kB / 0.547 GB, free: 13.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1552, allocations: 0 / 0.547 GB, free: 13.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.925e-05/0.1553, allocations: 59.47 kB / 0.5471 GB, free: 13.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.1553, allocations: 37.45 kB / 0.5471 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1553, allocations: 0 / 0.5471 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1554, allocations: 3.938 kB / 0.5471 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.1554, allocations: 0 / 0.5471 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1554, allocations: 0 / 0.5471 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.038e-05/0.1554, allocations: 7.938 kB / 0.5471 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.1554, allocations: 4 kB / 0.5471 GB, free: 13.09 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 0.0001118/0.1555, allocations: 135.5 kB / 0.5473 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-06/0.1556, allocations: 8.031 kB / 0.5473 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.162e-05/0.1556, allocations: 7.062 kB / 0.5473 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.1556, allocations: 0 / 0.5473 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1556, allocations: 0 / 0.5473 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1556, allocations: 0 / 0.5473 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.1557, allocations: 149.6 kB / 0.5474 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.1558, allocations: 4 kB / 0.5474 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-06/0.1558, allocations: 4 kB / 0.5474 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.81e-07/0.1558, allocations: 0 / 0.5474 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.1558, allocations: 3.938 kB / 0.5474 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.1558, allocations: 7.938 kB / 0.5475 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1558, allocations: 0 / 0.5475 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.1559, allocations: 90.83 kB / 0.5475 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.156, allocations: 77.11 kB / 0.5476 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.156, allocations: 3.938 kB / 0.5476 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-06/0.156, allocations: 0 / 0.5476 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.156, allocations: 4 kB / 0.5476 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.1561, allocations: 0 / 0.5476 GB, free: 12.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.865e-05/0.1561, allocations: 79.31 kB / 0.5477 GB, free: 12.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1561, allocations: 0 / 0.5477 GB, free: 12.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003063/0.1564, allocations: 75.8 kB / 0.5478 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.001169/0.1576, allocations: 392.7 kB / 0.5481 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.1577, allocations: 67.34 kB / 0.5482 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1577, allocations: 0 / 0.5482 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.902e-05/0.1578, allocations: 55.41 kB / 0.5483 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.1579, allocations: 7.984 kB / 0.5483 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001884/0.1581, allocations: 81 kB / 0.5483 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.1584, allocations: 0.6768 MB / 0.549 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.584e-06/0.1584, allocations: 3.984 kB / 0.549 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.145e-05/0.1585, allocations: 7.562 kB / 0.549 GB, free: 11.04 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1585, allocations: 8 kB / 0.549 GB, free: 11.03 MB / 414.1 MB Notification: Performance of Templates: time 0.005286/0.1638, allocations: 2.204 MB / 0.5512 GB, free: 8.828 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9190260684117675]