Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001748/0.001748, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001418/0.001418, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.454/1.454, allocations: 230.2 MB / 257.8 MB, free: 8.488 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2289/0.2289, allocations: 46.89 MB / 361.1 MB, free: 4.629 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Blocks.Limiters") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002378/0.002378, allocations: 79.88 kB / 0.4968 GB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2901, allocations: 65.99 MB / 0.5612 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002945/0.293, allocations: 1.702 MB / 0.5629 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.2942, allocations: 0.6711 MB / 0.5635 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.211e-05/0.2943, allocations: 4 kB / 0.5635 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.573e-05/0.2944, allocations: 15.8 kB / 0.5635 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.2945, allocations: 15.81 kB / 0.5635 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004532/0.2949, allocations: 147.7 kB / 0.5637 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.2952, allocations: 155.6 kB / 0.5638 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.2953, allocations: 35.55 kB / 0.5639 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.2955, allocations: 75.75 kB / 0.5639 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.2956, allocations: 67.62 kB / 0.564 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.2956, allocations: 16 kB / 0.564 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.244e-05/0.2957, allocations: 16 kB / 0.564 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.105e-05/0.2957, allocations: 39.89 kB / 0.5641 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.464e-05/0.2958, allocations: 55.72 kB / 0.5641 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.296, allocations: 139.4 kB / 0.5643 GB, free: 1.871 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.296, allocations: 0 / 0.5643 GB, free: 1.871 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.296, allocations: 0 / 0.5643 GB, free: 1.871 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.296, allocations: 0 / 0.5643 GB, free: 1.871 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.0007689/0.2968, allocations: 462.8 kB / 0.5647 GB, free: 1.371 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.2968, allocations: 12.03 kB / 0.5647 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.297, allocations: 24.83 kB / 0.5647 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.2973, allocations: 220.2 kB / 0.5649 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.2973, allocations: 8.375 kB / 0.565 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.2973, allocations: 8.375 kB / 0.565 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004456/0.2978, allocations: 190.8 kB / 0.5651 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.2978, allocations: 0 / 0.5651 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.2978, allocations: 3.984 kB / 0.5651 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.2978, allocations: 4 kB / 0.5651 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004192/0.2982, allocations: 119.9 kB / 0.5653 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008793/0.2991, allocations: 456.3 kB / 0.5657 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006567/0.2998, allocations: 194.4 kB / 0.5659 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/0.3, allocations: 72.8 kB / 0.566 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.3001, allocations: 7.969 kB / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.986e-05/0.3001, allocations: 34.56 kB / 0.566 GB, free: 15.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.3001, allocations: 0 / 0.566 GB, free: 15.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001584/0.3017, allocations: 0.5685 MB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.157e-05/0.3018, allocations: 110.8 kB / 0.5667 GB, free: 15.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.3019, allocations: 155.4 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.302, allocations: 29.7 kB / 0.5668 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.198e-05/0.302, allocations: 112.1 kB / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.3021, allocations: 39.83 kB / 0.567 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.3021, allocations: 29.7 kB / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3023, allocations: 322.8 kB / 0.5673 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.3025, allocations: 72.8 kB / 0.5674 GB, free: 14.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.3028, allocations: 90.52 kB / 0.5675 GB, free: 14.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004584/0.3032, allocations: 144.7 kB / 0.5676 GB, free: 14.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3032, allocations: 0 / 0.5676 GB, free: 14.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005276/0.3038, allocations: 185.5 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3038, allocations: 8 kB / 0.5678 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3038, allocations: 0 / 0.5678 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3038, allocations: 0 / 0.5678 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.304, allocations: 43.89 kB / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.304, allocations: 4.062 kB / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.3042, allocations: 23.91 kB / 0.5679 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3042, allocations: 4 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001667/0.3044, allocations: 124.5 kB / 0.568 GB, free: 13.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001363/0.3045, allocations: 62.48 kB / 0.568 GB, free: 13.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000194/0.3047, allocations: 72.77 kB / 0.5681 GB, free: 13.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.72e-07/0.3047, allocations: 0 / 0.5681 GB, free: 13.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002818/0.305, allocations: 133.5 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.305, allocations: 4 kB / 0.5682 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-06/0.305, allocations: 0 / 0.5682 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-06/0.305, allocations: 0 / 0.5682 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.3051, allocations: 19.98 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3051, allocations: 7.938 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.3052, allocations: 11.98 kB / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.3052, allocations: 0 / 0.5683 GB, free: 13.41 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.0001171/0.3053, allocations: 188.3 kB / 0.5685 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.646e-05/0.3054, allocations: 15.91 kB / 0.5685 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.793e-05/0.3054, allocations: 17.39 kB / 0.5685 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3054, allocations: 11.88 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3054, allocations: 0 / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3054, allocations: 0 / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009615/0.3064, allocations: 0.507 MB / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.3064, allocations: 7.938 kB / 0.569 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.3066, allocations: 31.97 kB / 0.569 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.3066, allocations: 0 / 0.569 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.3066, allocations: 8.031 kB / 0.569 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3066, allocations: 0 / 0.569 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3066, allocations: 4.266 kB / 0.569 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008336/0.3074, allocations: 364 kB / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-05/0.3075, allocations: 89.03 kB / 0.5695 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.3075, allocations: 3.984 kB / 0.5695 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.3078, allocations: 40.02 kB / 0.5695 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.3079, allocations: 8 kB / 0.5695 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.3079, allocations: 7.984 kB / 0.5695 GB, free: 12.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.676e-05/0.308, allocations: 117.6 kB / 0.5696 GB, free: 11.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.308, allocations: 0 / 0.5696 GB, free: 11.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000316/0.3083, allocations: 43.88 kB / 0.5697 GB, free: 11.86 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.0001179/0.3084, allocations: 99.25 kB / 0.5698 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000649/0.3091, allocations: 183.8 kB / 0.57 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3091, allocations: 0 / 0.57 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.3093, allocations: 79.88 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.3097, allocations: 43.84 kB / 0.5701 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006663/0.3104, allocations: 284.5 kB / 0.5703 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.3107, allocations: 0.7046 MB / 0.571 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.164e-05/0.3108, allocations: 20.86 kB / 0.5711 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.525e-05/0.3109, allocations: 19.42 kB / 0.5711 GB, free: 10.38 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3109, allocations: 4 kB / 0.5711 GB, free: 10.37 MB / 414.1 MB Notification: Performance of Templates: time 0.005559/0.3164, allocations: 2.319 MB / 0.5733 GB, free: 8.07 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 4.862643759697676]