Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 241.9 MB, free: 13.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1942/0.1942, allocations: 44.17 MB / 336.2 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 63.36 kB / 407.9 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1022, allocations: 60.83 MB / 468.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002977/0.1052, allocations: 1.723 MB / 470.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009999/0.1062, allocations: 0.5885 MB / 471 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.168e-05/0.1063, allocations: 3.938 kB / 471 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.119e-05/0.1063, allocations: 7.922 kB / 471 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.1064, allocations: 19.88 kB / 471.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.1068, allocations: 123.8 kB / 471.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.107, allocations: 151.6 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1071, allocations: 33.41 kB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1072, allocations: 71.78 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.407e-05/0.1073, allocations: 63.73 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.1074, allocations: 16 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.158e-05/0.1074, allocations: 12 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.345e-05/0.1074, allocations: 35.84 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.545e-05/0.1075, allocations: 63.64 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.1077, allocations: 127.8 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1077, allocations: 0 / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1077, allocations: 0 / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1077, allocations: 0 / 471.7 MB, free: 11.65 MB / 350.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.0005894/0.1083, allocations: 459 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.1084, allocations: 8.031 kB / 472.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.1084, allocations: 20.75 kB / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.1087, allocations: 216.6 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.1087, allocations: 8.375 kB / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.1087, allocations: 8.125 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003937/0.1091, allocations: 174.5 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1091, allocations: 0 / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.1092, allocations: 4 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.1092, allocations: 0 / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003703/0.1095, allocations: 131.8 kB / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008443/0.1104, allocations: 464.2 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005668/0.111, allocations: 190.5 kB / 473.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.1112, allocations: 76.73 kB / 473.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.1112, allocations: 0 / 473.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.1112, allocations: 34.56 kB / 473.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 2.214e-06/0.1113, allocations: 4 kB / 473.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001323/0.1126, allocations: 0.5681 MB / 474.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/0.1127, allocations: 106.8 kB / 474.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.1128, allocations: 154.2 kB / 474.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.1128, allocations: 33.7 kB / 474.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.1129, allocations: 104 kB / 474.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.1129, allocations: 35.55 kB / 474.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.724e-05/0.113, allocations: 25.7 kB / 474.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1131, allocations: 318.8 kB / 474.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.1133, allocations: 76.8 kB / 474.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.1136, allocations: 98.44 kB / 475 MB, free: 8.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.1139, allocations: 136.8 kB / 475.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.114, allocations: 0 / 475.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000439/0.1144, allocations: 189.6 kB / 475.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1144, allocations: 4 kB / 475.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1144, allocations: 7.922 kB / 475.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1145, allocations: 4 kB / 475.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.1146, allocations: 35.97 kB / 475.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.1146, allocations: 0 / 475.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.1148, allocations: 23.97 kB / 475.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.1148, allocations: 7.938 kB / 475.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001358/0.1149, allocations: 124.1 kB / 475.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001017/0.1151, allocations: 50.55 kB / 475.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001899/0.1153, allocations: 76.81 kB / 475.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.152e-06/0.1153, allocations: 0 / 475.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002431/0.1155, allocations: 125.4 kB / 475.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.664e-06/0.1155, allocations: 4 kB / 475.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-06/0.1155, allocations: 0 / 475.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.925e-06/0.1156, allocations: 7.875 kB / 475.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.226e-05/0.1156, allocations: 23.92 kB / 475.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-06/0.1157, allocations: 4 kB / 475.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.1158, allocations: 15.98 kB / 475.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.1158, allocations: 8.359 kB / 475.8 MB, free: 7.234 MB / 350.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 9.762e-05/0.1159, allocations: 185.1 kB / 476 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.116, allocations: 11.91 kB / 476 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.623e-05/0.116, allocations: 12.66 kB / 476 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.116, allocations: 7.938 kB / 476 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.1161, allocations: 4 kB / 476 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1161, allocations: 0 / 476 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008494/0.1169, allocations: 0.5146 MB / 476.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.1169, allocations: 0 / 476.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.1171, allocations: 36 kB / 476.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1171, allocations: 3.984 kB / 476.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.1171, allocations: 8 kB / 476.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1171, allocations: 3.938 kB / 476.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1171, allocations: 0 / 476.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007165/0.1179, allocations: 356 kB / 477 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.1179, allocations: 89.03 kB / 477 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.1179, allocations: 4 kB / 477 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.1182, allocations: 40.02 kB / 477.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.1183, allocations: 7.984 kB / 477.1 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.1183, allocations: 8 kB / 477.1 MB, free: 5.855 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.608e-05/0.1184, allocations: 119.2 kB / 477.2 MB, free: 5.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1184, allocations: 0 / 477.2 MB, free: 5.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003012/0.1187, allocations: 36 kB / 477.3 MB, free: 5.703 MB / 350.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.0001035/0.1188, allocations: 95.78 kB / 477.3 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005572/0.1194, allocations: 199.7 kB / 477.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1194, allocations: 0 / 477.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.1196, allocations: 75.92 kB / 477.6 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.1201, allocations: 52.25 kB / 477.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005954/0.1207, allocations: 328.5 kB / 478 MB, free: 4.938 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.121, allocations: 0.7124 MB / 478.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.698e-05/0.121, allocations: 20.86 kB / 478.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.293e-05/0.1211, allocations: 15.44 kB / 478.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1211, allocations: 0 / 478.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of Templates: time 0.00444/0.1256, allocations: 2.185 MB / 480.9 MB, free: 2.012 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches