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.001683/0.001683, allocations: 116.1 kB / 21.18 MB, free: 0.7422 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.001943/0.001943, allocations: 214.8 kB / 24.48 MB, free: 4.191 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.421/1.421, allocations: 230.2 MB / 257.8 MB, free: 8.48 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.2206/0.2206, allocations: 46.89 MB / 361.1 MB, free: 4.609 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.002612/0.002612, allocations: 80.19 kB / 0.4967 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3168, allocations: 66 MB / 0.5612 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003202/0.32, allocations: 1.706 MB / 0.5629 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.3213, allocations: 0.6673 MB / 0.5635 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.3214, allocations: 7.875 kB / 0.5635 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.129e-05/0.3215, allocations: 7.875 kB / 0.5635 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.3216, allocations: 31.78 kB / 0.5636 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004936/0.3221, allocations: 143.7 kB / 0.5637 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.3223, allocations: 151.7 kB / 0.5638 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.3225, allocations: 31.56 kB / 0.5639 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.3227, allocations: 75.75 kB / 0.5639 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.3228, allocations: 63.69 kB / 0.564 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.3228, allocations: 12 kB / 0.564 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.859e-05/0.3229, allocations: 20 kB / 0.564 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.947e-05/0.3229, allocations: 31.89 kB / 0.5641 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.44e-05/0.323, allocations: 71.66 kB / 0.5641 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.3232, allocations: 135.4 kB / 0.5643 GB, free: 1.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3232, allocations: 4 kB / 0.5643 GB, free: 1.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3232, allocations: 0 / 0.5643 GB, free: 1.828 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.3232, allocations: 0 / 0.5643 GB, free: 1.828 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.000739/0.324, allocations: 454.8 kB / 0.5647 GB, free: 1.332 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.324, allocations: 16.91 kB / 0.5647 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/0.3242, allocations: 24.84 kB / 0.5647 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.3246, allocations: 228.1 kB / 0.565 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.3246, allocations: 4.375 kB / 0.565 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.3246, allocations: 12.36 kB / 0.565 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004362/0.325, allocations: 174.7 kB / 0.5651 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.325, allocations: 0 / 0.5651 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.3251, allocations: 8 kB / 0.5652 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3251, allocations: 0 / 0.5652 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004219/0.3255, allocations: 135.8 kB / 0.5653 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008873/0.3264, allocations: 456.3 kB / 0.5657 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/0.327, allocations: 182.5 kB / 0.5659 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.3272, allocations: 76.8 kB / 0.566 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.3273, allocations: 0 / 0.566 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.3273, allocations: 34.56 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.3273, allocations: 0 / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001576/0.3289, allocations: 0.5762 MB / 0.5666 GB, free: 15.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/0.3289, allocations: 110.8 kB / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.3291, allocations: 155.4 kB / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.3291, allocations: 25.7 kB / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.533e-05/0.3292, allocations: 116.1 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.3293, allocations: 35.69 kB / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.943e-05/0.3293, allocations: 29.7 kB / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3295, allocations: 322.8 kB / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.3297, allocations: 68.8 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.3299, allocations: 102.4 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004374/0.3304, allocations: 136.8 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3304, allocations: 3.938 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005181/0.3309, allocations: 181.5 kB / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3309, allocations: 8 kB / 0.5678 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3309, allocations: 4 kB / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.3309, allocations: 3.984 kB / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.3311, allocations: 31.97 kB / 0.5678 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.3311, allocations: 3.938 kB / 0.5678 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.3313, allocations: 28.34 kB / 0.5679 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.3313, allocations: 4 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001717/0.3315, allocations: 128 kB / 0.568 GB, free: 13.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001241/0.3316, allocations: 58.48 kB / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001927/0.3318, allocations: 80.81 kB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.91e-07/0.3318, allocations: 0 / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002734/0.3321, allocations: 121.5 kB / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.805e-06/0.3321, allocations: 4 kB / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-06/0.3321, allocations: 0 / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.48e-06/0.3321, allocations: 4 kB / 0.5682 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.876e-05/0.3322, allocations: 23.92 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-06/0.3322, allocations: 0 / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.3323, allocations: 19.92 kB / 0.5683 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.3323, allocations: 4 kB / 0.5683 GB, free: 13.37 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.0001253/0.3324, allocations: 188.2 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.3325, allocations: 15.91 kB / 0.5685 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.667e-05/0.3325, allocations: 13.41 kB / 0.5685 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3325, allocations: 0 / 0.5685 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.3325, allocations: 3.938 kB / 0.5685 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.447e-05/0.3326, allocations: 89.05 kB / 0.5686 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.3326, allocations: 4 kB / 0.5686 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/0.3329, allocations: 39.95 kB / 0.5686 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.3329, allocations: 8 kB / 0.5686 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006501/0.3336, allocations: 269 kB / 0.5689 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008514/0.3344, allocations: 438.4 kB / 0.5693 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002392/0.3347, allocations: 75.95 kB / 0.5694 GB, free: 12.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.3348, allocations: 121.6 kB / 0.5695 GB, free: 12.08 MB / 414.1 MB Notification: Performance of Backend: time 4.21e-07/0.3348, allocations: 4.062 kB / 0.5695 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007203/0.3355, allocations: 202.2 kB / 0.5697 GB, free: 11.87 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007856/0.3363, allocations: 0.6923 MB / 0.5704 GB, free: 11.13 MB / 414.1 MB Notification: Performance of Templates: time 0.006355/0.3426, allocations: 2.65 MB / 0.573 GB, free: 8.5 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 -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.951148914173245]