Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.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.001345/0.001345, allocations: 122 kB / 18.45 MB, free: 4.461 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.001386/0.001387, allocations: 202.5 kB / 21.4 MB, free: 1.516 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.593/1.593, allocations: 227.4 MB / 251.6 MB, free: 300 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.2389/0.2389, allocations: 46.18 MB / 351.1 MB, free: 14.4 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.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003551/0.003551, allocations: 77.75 kB / 490.2 MB, free: 27.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1371, allocations: 62.46 MB / 0.5397 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003053/0.1402, allocations: 1.693 MB / 0.5413 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.1415, allocations: 0.6546 MB / 0.542 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.642e-05/0.1416, allocations: 4 kB / 0.542 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.567e-05/0.1416, allocations: 15.86 kB / 0.542 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.1418, allocations: 11.81 kB / 0.542 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004776/0.1423, allocations: 155.6 kB / 0.5422 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002831/0.1425, allocations: 159.6 kB / 0.5423 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.1427, allocations: 48.81 kB / 0.5423 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.1429, allocations: 71.75 kB / 0.5424 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.143, allocations: 63.69 kB / 0.5425 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.143, allocations: 12 kB / 0.5425 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.153e-05/0.1431, allocations: 16 kB / 0.5425 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.892e-05/0.1432, allocations: 39.89 kB / 0.5425 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.03e-05/0.1432, allocations: 59.66 kB / 0.5426 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.1435, allocations: 135.4 kB / 0.5427 GB, free: 1.133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1435, allocations: 0 / 0.5427 GB, free: 1.133 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1435, allocations: 0 / 0.5427 GB, free: 1.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1435, allocations: 4 kB / 0.5427 GB, free: 1.129 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007239/0.1442, allocations: 454.9 kB / 0.5432 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1443, allocations: 12.03 kB / 0.5432 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.1445, allocations: 28.77 kB / 0.5432 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.1448, allocations: 236 kB / 0.5434 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.1448, allocations: 8.375 kB / 0.5434 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.1449, allocations: 4.375 kB / 0.5434 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004267/0.1453, allocations: 178.3 kB / 0.5436 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.1453, allocations: 4 kB / 0.5436 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.1453, allocations: 4 kB / 0.5436 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1453, allocations: 0 / 0.5436 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003939/0.1457, allocations: 123.9 kB / 0.5437 GB, free: 0 / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009107/0.1467, allocations: 456.4 kB / 0.5442 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006173/0.1473, allocations: 190.5 kB / 0.5444 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.1475, allocations: 80.73 kB / 0.5444 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.1476, allocations: 0 / 0.5444 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.1476, allocations: 34.56 kB / 0.5445 GB, free: 15.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 8.51e-07/0.1476, allocations: 0 / 0.5445 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001586/0.1492, allocations: 0.5684 MB / 0.545 GB, free: 14.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.423e-05/0.1493, allocations: 106.8 kB / 0.5451 GB, free: 14.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.1495, allocations: 161.2 kB / 0.5453 GB, free: 14.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.1495, allocations: 29.7 kB / 0.5453 GB, free: 14.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.948e-05/0.1496, allocations: 108.1 kB / 0.5454 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.1497, allocations: 35.89 kB / 0.5454 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.829e-05/0.1497, allocations: 29.66 kB / 0.5455 GB, free: 14.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1499, allocations: 326.8 kB / 0.5458 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.1502, allocations: 72.78 kB / 0.5459 GB, free: 13.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.1504, allocations: 94.52 kB / 0.5459 GB, free: 13.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004532/0.1509, allocations: 141 kB / 0.5461 GB, free: 13.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1509, allocations: 7.938 kB / 0.5461 GB, free: 13.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004973/0.1514, allocations: 181.6 kB / 0.5463 GB, free: 13.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.1514, allocations: 8 kB / 0.5463 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1515, allocations: 0 / 0.5463 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1515, allocations: 3.938 kB / 0.5463 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.1517, allocations: 43.84 kB / 0.5463 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.1517, allocations: 8.219 kB / 0.5463 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.1518, allocations: 15.98 kB / 0.5463 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.1518, allocations: 15.97 kB / 0.5463 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000153/0.152, allocations: 112.1 kB / 0.5465 GB, free: 13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001352/0.1522, allocations: 66.53 kB / 0.5465 GB, free: 12.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001829/0.1523, allocations: 72.77 kB / 0.5466 GB, free: 12.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.71e-07/0.1523, allocations: 0 / 0.5466 GB, free: 12.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.000264/0.1526, allocations: 129.8 kB / 0.5467 GB, free: 12.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.572e-06/0.1526, allocations: 4 kB / 0.5467 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.1526, allocations: 4 kB / 0.5467 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.407e-06/0.1527, allocations: 0 / 0.5467 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.954e-05/0.1527, allocations: 27.95 kB / 0.5467 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.1528, allocations: 3.938 kB / 0.5468 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.819e-05/0.1529, allocations: 11.98 kB / 0.5468 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.1529, allocations: 8 kB / 0.5468 GB, free: 12.66 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001306/0.153, allocations: 180.2 kB / 0.5469 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.153, allocations: 15.91 kB / 0.547 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.034e-05/0.1531, allocations: 21.39 kB / 0.547 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1531, allocations: 7.938 kB / 0.547 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1531, allocations: 0 / 0.547 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1531, allocations: 0 / 0.547 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009318/0.1541, allocations: 0.507 MB / 0.5475 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1541, allocations: 3.938 kB / 0.5475 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.1543, allocations: 39.91 kB / 0.5475 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1543, allocations: 0 / 0.5475 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1543, allocations: 0 / 0.5475 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1543, allocations: 0 / 0.5475 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1543, allocations: 4 kB / 0.5475 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008366/0.1552, allocations: 364.1 kB / 0.5479 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.1553, allocations: 89.03 kB / 0.548 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.1553, allocations: 4 kB / 0.548 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.1556, allocations: 39.95 kB / 0.548 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/0.1557, allocations: 7.984 kB / 0.548 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.1557, allocations: 12 kB / 0.548 GB, free: 11.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.1558, allocations: 120.9 kB / 0.5481 GB, free: 11.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1558, allocations: 0 / 0.5481 GB, free: 11.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003316/0.1561, allocations: 32 kB / 0.5482 GB, free: 11.12 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001936/0.1563, allocations: 107.2 kB / 0.5483 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006269/0.157, allocations: 195.9 kB / 0.5485 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.157, allocations: 4 kB / 0.5485 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.1572, allocations: 71.88 kB / 0.5485 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.1576, allocations: 39.97 kB / 0.5486 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006723/0.1583, allocations: 280.5 kB / 0.5488 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.1587, allocations: 0.7085 MB / 0.5495 GB, free: 9.668 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.838e-05/0.1588, allocations: 20.86 kB / 0.5495 GB, free: 9.645 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.1588, allocations: 15.44 kB / 0.5496 GB, free: 9.633 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1588, allocations: 0 / 0.5496 GB, free: 9.633 MB / 414.1 MB Notification: Performance of Templates: time 0.005553/0.1644, allocations: 2.284 MB / 0.5518 GB, free: 7.367 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.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: 5.471034185960889]