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.001636/0.001636, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001852/0.001852, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.544/1.544, allocations: 230.5 MB / 258.1 MB, free: 7.777 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.2284/0.2284, allocations: 46.96 MB / 361.6 MB, free: 3.914 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.002502/0.002502, allocations: 83.88 kB / 0.4974 GB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4055, allocations: 66.09 MB / 0.5619 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003196/0.4087, allocations: 1.652 MB / 0.5635 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.4099, allocations: 0.6207 MB / 0.5641 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.157e-05/0.41, allocations: 7.938 kB / 0.5641 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.346e-05/0.4101, allocations: 7.875 kB / 0.5641 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.4102, allocations: 27.73 kB / 0.5642 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005233/0.4107, allocations: 147.7 kB / 0.5643 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.4109, allocations: 155.7 kB / 0.5645 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.4111, allocations: 32.67 kB / 0.5645 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.4113, allocations: 71.77 kB / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.4114, allocations: 67.67 kB / 0.5646 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.236e-05/0.4114, allocations: 12 kB / 0.5646 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.013e-05/0.4115, allocations: 20 kB / 0.5647 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.21e-05/0.4115, allocations: 35.84 kB / 0.5647 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.383e-05/0.4116, allocations: 51.78 kB / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.4118, allocations: 138.2 kB / 0.5649 GB, free: 0.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.4118, allocations: 0 / 0.5649 GB, free: 0.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4118, allocations: 0 / 0.5649 GB, free: 0.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.4118, allocations: 0 / 0.5649 GB, free: 0.918 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.0007368/0.4126, allocations: 393.6 kB / 0.5652 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.4126, allocations: 8.031 kB / 0.5653 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.4128, allocations: 24.84 kB / 0.5653 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.4131, allocations: 158.3 kB / 0.5654 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.4131, allocations: 8.375 kB / 0.5654 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.4131, allocations: 12.38 kB / 0.5654 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005557/0.4137, allocations: 332.5 kB / 0.5658 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.4137, allocations: 3.938 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.4137, allocations: 8 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4137, allocations: 0 / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003885/0.4141, allocations: 127.9 kB / 0.5659 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008062/0.4149, allocations: 364 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005899/0.4155, allocations: 198.4 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.4157, allocations: 72.95 kB / 0.5665 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.4158, allocations: 4 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.4158, allocations: 34.55 kB / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.4158, allocations: 0 / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.00144/0.4172, allocations: 496.8 kB / 0.567 GB, free: 14.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.717e-05/0.4173, allocations: 110.8 kB / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.4175, allocations: 147 kB / 0.5673 GB, free: 14.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.4175, allocations: 29.7 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.726e-05/0.4176, allocations: 108 kB / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.4176, allocations: 35.69 kB / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/0.4177, allocations: 29.7 kB / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4179, allocations: 322.8 kB / 0.5678 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.4181, allocations: 72.8 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.4183, allocations: 149.9 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004209/0.4188, allocations: 141 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4188, allocations: 3.938 kB / 0.5681 GB, free: 13.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004776/0.4192, allocations: 181.5 kB / 0.5683 GB, free: 13.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.4192, allocations: 4 kB / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.4193, allocations: 0 / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4193, allocations: 11.98 kB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.4195, allocations: 31.97 kB / 0.5683 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.4195, allocations: 3.938 kB / 0.5683 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.4196, allocations: 27.97 kB / 0.5684 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.4196, allocations: 0 / 0.5684 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001567/0.4198, allocations: 124.1 kB / 0.5685 GB, free: 12.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001416/0.4199, allocations: 110 kB / 0.5686 GB, free: 12.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001796/0.4201, allocations: 80.75 kB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.11e-07/0.4201, allocations: 0 / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.000243/0.4203, allocations: 117.5 kB / 0.5688 GB, free: 12.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.063e-06/0.4203, allocations: 4.375 kB / 0.5688 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-06/0.4203, allocations: 0 / 0.5688 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-06/0.4203, allocations: 4.031 kB / 0.5688 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.15e-05/0.4204, allocations: 31.92 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-06/0.4204, allocations: 3.938 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.499e-05/0.4205, allocations: 19.92 kB / 0.5688 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.4205, allocations: 3.984 kB / 0.5688 GB, free: 12.53 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.0001391/0.4207, allocations: 184.3 kB / 0.569 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.4207, allocations: 11.95 kB / 0.569 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.277e-05/0.4208, allocations: 8.719 kB / 0.569 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4208, allocations: 4 kB / 0.569 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.4208, allocations: 11.88 kB / 0.569 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4208, allocations: 0 / 0.569 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009225/0.4217, allocations: 438.8 kB / 0.5695 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4217, allocations: 4.031 kB / 0.5695 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.4219, allocations: 35.95 kB / 0.5695 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.4219, allocations: 4 kB / 0.5695 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.4219, allocations: 7.938 kB / 0.5695 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4219, allocations: 0 / 0.5695 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4219, allocations: 4 kB / 0.5695 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008131/0.4227, allocations: 360.1 kB / 0.5699 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.4227, allocations: 7.953 kB / 0.5699 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.4228, allocations: 7.938 kB / 0.5699 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.423, allocations: 40.02 kB / 0.5699 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.4231, allocations: 7.984 kB / 0.5699 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.4231, allocations: 4 kB / 0.5699 GB, free: 11.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.952e-05/0.4232, allocations: 115.3 kB / 0.57 GB, free: 11.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4232, allocations: 0 / 0.57 GB, free: 11.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003063/0.4235, allocations: 32 kB / 0.5701 GB, free: 11.2 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.0001229/0.4236, allocations: 99.19 kB / 0.5702 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005949/0.4242, allocations: 192 kB / 0.5703 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4242, allocations: 0 / 0.5703 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.4244, allocations: 84.11 kB / 0.5704 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.4248, allocations: 38.19 kB / 0.5705 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006894/0.4255, allocations: 318.4 kB / 0.5708 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.26e-05/0.4256, allocations: 97.56 kB / 0.5709 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.87e-05/0.4256, allocations: 15.44 kB / 0.5709 GB, free: 10.31 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4256, allocations: 0 / 0.5709 GB, free: 10.31 MB / 414.1 MB Notification: Performance of Templates: time 0.004326/0.43, allocations: 1.863 MB / 0.5727 GB, free: 8.457 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins1/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: 7.883442345075309]