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.001435/0.001435, allocations: 77.78 kB / 21.25 MB, free: 0.5469 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.002076/0.002076, allocations: 161.8 kB / 24.5 MB, free: 3.711 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.506/1.506, allocations: 177.1 MB / 204.7 MB, free: 8.973 MB / 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.2136/0.2136, allocations: 34.26 MB / 295.4 MB, free: 14.46 MB / 286.1 MB " [Timeout remaining time 179] 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.002294/0.002294, allocations: 79.86 kB / 443.2 MB, free: 6.465 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3699, allocations: 66.05 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.0025/0.3724, allocations: 1.674 MB / 0.4989 GB, free: 28.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.3736, allocations: 0.624 MB / 0.4995 GB, free: 28.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.956e-05/0.3736, allocations: 3.938 kB / 0.4995 GB, free: 28.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.586e-05/0.3737, allocations: 11.3 kB / 0.4995 GB, free: 28.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.3738, allocations: 15.03 kB / 0.4995 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.3742, allocations: 160.6 kB / 0.4997 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.3744, allocations: 151.4 kB / 0.4998 GB, free: 28.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.3746, allocations: 33.75 kB / 0.4999 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.3747, allocations: 78.38 kB / 0.4999 GB, free: 28.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.3748, allocations: 56.7 kB / 0.5 GB, free: 28.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.3748, allocations: 15.94 kB / 0.5 GB, free: 28.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.017e-05/0.3749, allocations: 15.16 kB / 0.5 GB, free: 28.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.967e-05/0.3749, allocations: 33.94 kB / 0.5001 GB, free: 27.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.375, allocations: 51.19 kB / 0.5001 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.3752, allocations: 140.9 kB / 0.5002 GB, free: 27.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3752, allocations: 0 / 0.5002 GB, free: 27.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3752, allocations: 3.219 kB / 0.5002 GB, free: 27.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3752, allocations: 4 kB / 0.5002 GB, free: 27.89 MB / 446.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.0005553/0.3757, allocations: 378.5 kB / 0.5006 GB, free: 27.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.3758, allocations: 9.5 kB / 0.5006 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.3759, allocations: 25.66 kB / 0.5006 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.3762, allocations: 168.2 kB / 0.5008 GB, free: 27.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.3762, allocations: 7.625 kB / 0.5008 GB, free: 27.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.3762, allocations: 10.84 kB / 0.5008 GB, free: 27.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.3766, allocations: 333.8 kB / 0.5011 GB, free: 27.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.3766, allocations: 0 / 0.5011 GB, free: 27.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.092e-05/0.3766, allocations: 3.156 kB / 0.5011 GB, free: 27.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.3766, allocations: 3.938 kB / 0.5011 GB, free: 27.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003611/0.377, allocations: 125.8 kB / 0.5013 GB, free: 27.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006376/0.3776, allocations: 365.2 kB / 0.5016 GB, free: 26.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005298/0.3782, allocations: 186.9 kB / 0.5018 GB, free: 26.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.3784, allocations: 74.88 kB / 0.5019 GB, free: 26.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.3784, allocations: 6.375 kB / 0.5019 GB, free: 26.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.3784, allocations: 37.72 kB / 0.5019 GB, free: 26.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.3784, allocations: 0 / 0.5019 GB, free: 26.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.001292/0.3797, allocations: 496.1 kB / 0.5024 GB, free: 26.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.3797, allocations: 106.8 kB / 0.5025 GB, free: 26.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.658e-05/0.3798, allocations: 150.2 kB / 0.5026 GB, free: 26.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.3798, allocations: 32.98 kB / 0.5027 GB, free: 26.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/0.3799, allocations: 109.7 kB / 0.5028 GB, free: 26.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.3799, allocations: 38.22 kB / 0.5028 GB, free: 26.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.38, allocations: 29.72 kB / 0.5028 GB, free: 26.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.362e-05/0.38, allocations: 325.1 kB / 0.5031 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.3802, allocations: 76.34 kB / 0.5032 GB, free: 25.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.3804, allocations: 142.4 kB / 0.5033 GB, free: 25.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.3808, allocations: 139.7 kB / 0.5035 GB, free: 25.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3808, allocations: 3.938 kB / 0.5035 GB, free: 25.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004472/0.3813, allocations: 184.1 kB / 0.5037 GB, free: 25.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3813, allocations: 9.719 kB / 0.5037 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3813, allocations: 0 / 0.5037 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3813, allocations: 384 / 0.5037 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.3815, allocations: 39.02 kB / 0.5037 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.3815, allocations: 7.156 kB / 0.5037 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.3817, allocations: 19.59 kB / 0.5037 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.3817, allocations: 6.969 kB / 0.5037 GB, free: 25.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000122/0.3818, allocations: 124.7 kB / 0.5039 GB, free: 25.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001125/0.3819, allocations: 114.3 kB / 0.504 GB, free: 25.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001678/0.3821, allocations: 76.84 kB / 0.504 GB, free: 25.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.11e-07/0.3821, allocations: 0 / 0.504 GB, free: 25.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002192/0.3823, allocations: 119.4 kB / 0.5041 GB, free: 25.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.284e-06/0.3823, allocations: 9.719 kB / 0.5042 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-06/0.3823, allocations: 0 / 0.5042 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-06/0.3823, allocations: 2.812 kB / 0.5042 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.786e-05/0.3824, allocations: 23.3 kB / 0.5042 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-06/0.3824, allocations: 0 / 0.5042 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.32e-05/0.3825, allocations: 22.2 kB / 0.5042 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.3825, allocations: 2.875 kB / 0.5042 GB, free: 25.17 MB / 446.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 7.209e-05/0.3826, allocations: 183.2 kB / 0.5044 GB, free: 24.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.3826, allocations: 10.11 kB / 0.5044 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.667e-05/0.3826, allocations: 19.88 kB / 0.5044 GB, free: 24.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3827, allocations: 3.031 kB / 0.5044 GB, free: 24.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3827, allocations: 3.938 kB / 0.5044 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3827, allocations: 3.516 kB / 0.5044 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000748/0.3834, allocations: 441.6 kB / 0.5048 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3834, allocations: 288 / 0.5048 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.3836, allocations: 41.56 kB / 0.5049 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.3836, allocations: 0 / 0.5049 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.3836, allocations: 7.875 kB / 0.5049 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3836, allocations: 3 kB / 0.5049 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3836, allocations: 0 / 0.5049 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007042/0.3843, allocations: 362.7 kB / 0.5052 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.825e-05/0.3843, allocations: 6.922 kB / 0.5052 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.3843, allocations: 6.906 kB / 0.5053 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.3846, allocations: 43.92 kB / 0.5053 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.3847, allocations: 13.45 kB / 0.5053 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.3847, allocations: 3.031 kB / 0.5053 GB, free: 24.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.922e-05/0.3847, allocations: 116.2 kB / 0.5054 GB, free: 24.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3847, allocations: 0 / 0.5054 GB, free: 24.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003105/0.385, allocations: 33.72 kB / 0.5055 GB, free: 24.35 MB / 446.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 8.669e-05/0.3851, allocations: 99.44 kB / 0.5055 GB, free: 24.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005555/0.3857, allocations: 191.3 kB / 0.5057 GB, free: 24.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3857, allocations: 3.031 kB / 0.5057 GB, free: 24.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.3859, allocations: 77.22 kB / 0.5058 GB, free: 24.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.3863, allocations: 33.61 kB / 0.5058 GB, free: 24.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005634/0.3868, allocations: 283.3 kB / 0.5061 GB, free: 24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.242e-05/0.3869, allocations: 101.8 kB / 0.5062 GB, free: 23.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.547e-05/0.387, allocations: 17 kB / 0.5062 GB, free: 23.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.244e-05/0.387, allocations: 22.72 kB / 0.5062 GB, free: 23.9 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.387, allocations: 0 / 0.5062 GB, free: 23.9 MB / 446.1 MB Notification: Performance of Templates: time 0.005723/0.3927, allocations: 2.436 MB / 0.5086 GB, free: 23.59 MB / 446.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 -s ida -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: 5.2164642789866775]