Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 112.5 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.378/1.378, allocations: 230.6 MB / 258.3 MB, free: 8.219 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2154/0.2154, allocations: 46.93 MB / 361.6 MB, free: 4.309 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 71.81 kB / 0.4974 GB, free: 7.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.312, allocations: 66.02 MB / 0.5619 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003142/0.3151, allocations: 1.714 MB / 0.5635 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.3164, allocations: 0.6595 MB / 0.5642 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.368e-05/0.3164, allocations: 7.938 kB / 0.5642 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.227e-05/0.3165, allocations: 11.86 kB / 0.5642 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.3166, allocations: 27.69 kB / 0.5642 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004589/0.317, allocations: 154.9 kB / 0.5644 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.3173, allocations: 151.7 kB / 0.5645 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.3174, allocations: 32.73 kB / 0.5645 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.3176, allocations: 83.75 kB / 0.5646 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.3177, allocations: 63.64 kB / 0.5647 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/0.3177, allocations: 12 kB / 0.5647 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.236e-05/0.3178, allocations: 20 kB / 0.5647 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.754e-05/0.3178, allocations: 35.89 kB / 0.5647 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.539e-05/0.3179, allocations: 63.72 kB / 0.5648 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.3181, allocations: 130.2 kB / 0.5649 GB, free: 1.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3181, allocations: 4 kB / 0.5649 GB, free: 1.266 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3181, allocations: 0 / 0.5649 GB, free: 1.266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.3181, allocations: 0 / 0.5649 GB, free: 1.266 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.0006786/0.3188, allocations: 389.6 kB / 0.5653 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.3188, allocations: 15.97 kB / 0.5653 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.319, allocations: 24.83 kB / 0.5653 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.3193, allocations: 160 kB / 0.5655 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.3193, allocations: 8.375 kB / 0.5655 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.3193, allocations: 12.31 kB / 0.5655 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004344/0.3198, allocations: 178.6 kB / 0.5657 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.3198, allocations: 0 / 0.5657 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.3198, allocations: 11.98 kB / 0.5657 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.3198, allocations: 3.984 kB / 0.5657 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003734/0.3202, allocations: 119.9 kB / 0.5658 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008535/0.3211, allocations: 431.4 kB / 0.5662 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000558/0.3216, allocations: 190.4 kB / 0.5664 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.3218, allocations: 72.8 kB / 0.5665 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.3218, allocations: 0 / 0.5665 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.3219, allocations: 30.56 kB / 0.5665 GB, free: 15.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.3219, allocations: 8 kB / 0.5665 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001393/0.3233, allocations: 0.4934 MB / 0.567 GB, free: 14.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.848e-05/0.3233, allocations: 110.7 kB / 0.5671 GB, free: 14.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.3235, allocations: 159.3 kB / 0.5673 GB, free: 14.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.3235, allocations: 33.7 kB / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.149e-05/0.3236, allocations: 104.1 kB / 0.5674 GB, free: 14.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.3236, allocations: 31.7 kB / 0.5674 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.3237, allocations: 29.7 kB / 0.5674 GB, free: 14.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3238, allocations: 322.8 kB / 0.5678 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.3241, allocations: 76.8 kB / 0.5678 GB, free: 14.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.3243, allocations: 90.5 kB / 0.5679 GB, free: 13.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003933/0.3247, allocations: 148.9 kB / 0.5681 GB, free: 13.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3247, allocations: 0 / 0.5681 GB, free: 13.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004734/0.3251, allocations: 189.5 kB / 0.5682 GB, free: 13.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3252, allocations: 7.938 kB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3252, allocations: 80 / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3252, allocations: 0 / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.3254, allocations: 35.91 kB / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3254, allocations: 7.984 kB / 0.5683 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.3255, allocations: 27.97 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.3255, allocations: 8 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000147/0.3257, allocations: 116.1 kB / 0.5684 GB, free: 13.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001145/0.3258, allocations: 58.55 kB / 0.5685 GB, free: 13.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001834/0.326, allocations: 76.75 kB / 0.5686 GB, free: 13.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.01e-07/0.326, allocations: 0 / 0.5686 GB, free: 13.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002408/0.3262, allocations: 125.8 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.3262, allocations: 8 kB / 0.5687 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-06/0.3262, allocations: 96 / 0.5687 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-06/0.3262, allocations: 3.938 kB / 0.5687 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.154e-05/0.3263, allocations: 23.97 kB / 0.5687 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.3263, allocations: 3.938 kB / 0.5687 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.453e-05/0.3264, allocations: 11.98 kB / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.3264, allocations: 12 kB / 0.5687 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: 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.0001135/0.3265, allocations: 184.2 kB / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.3266, allocations: 11.91 kB / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.651e-05/0.3266, allocations: 17.41 kB / 0.5689 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.3266, allocations: 7.875 kB / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3266, allocations: 0 / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3266, allocations: 7.984 kB / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008665/0.3275, allocations: 482.2 kB / 0.5694 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.3275, allocations: 3.938 kB / 0.5694 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.3277, allocations: 40 kB / 0.5695 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3277, allocations: 0 / 0.5695 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.3277, allocations: 3.984 kB / 0.5695 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3277, allocations: 4 kB / 0.5695 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3277, allocations: 0 / 0.5695 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007416/0.3284, allocations: 360.1 kB / 0.5698 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.412e-05/0.3285, allocations: 15.88 kB / 0.5698 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.3285, allocations: 0 / 0.5698 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.3287, allocations: 47.95 kB / 0.5699 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.3288, allocations: 7.984 kB / 0.5699 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.3288, allocations: 4 kB / 0.5699 GB, free: 11.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.3289, allocations: 121.8 kB / 0.57 GB, free: 11.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3289, allocations: 0 / 0.57 GB, free: 11.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003081/0.3292, allocations: 35.94 kB / 0.57 GB, free: 11.68 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.0001048/0.3293, allocations: 99.25 kB / 0.5701 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005875/0.3299, allocations: 184 kB / 0.5703 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.3299, allocations: 12.19 kB / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.3301, allocations: 71.88 kB / 0.5704 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.3305, allocations: 46.55 kB / 0.5704 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006599/0.3312, allocations: 314.5 kB / 0.5707 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.3315, allocations: 0.7046 MB / 0.5714 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.671e-05/0.3315, allocations: 19.44 kB / 0.5714 GB, free: 10.19 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3315, allocations: 0 / 0.5714 GB, free: 10.19 MB / 414.1 MB Notification: Performance of Templates: time 0.0037/0.3352, allocations: 1.859 MB / 0.5733 GB, free: 8.344 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.091723818099126]