Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.3_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|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 111 kB / 17.04 MB, free: 5.812 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.001477/0.001477, allocations: 195 kB / 17.98 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2597/0.2597, allocations: 43.51 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 68.19 kB / 384.2 MB, free: 56.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.103, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002682/0.1057, allocations: 1.682 MB / 443.6 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009343/0.1066, allocations: 0.6437 MB / 444.3 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.821e-05/0.1067, allocations: 0 / 444.3 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.758e-05/0.1068, allocations: 15.81 kB / 444.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.1069, allocations: 19.8 kB / 444.3 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.1073, allocations: 147.3 kB / 444.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.1075, allocations: 155.6 kB / 444.6 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1076, allocations: 33.03 kB / 444.7 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.1077, allocations: 79.7 kB / 444.7 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.1078, allocations: 59.73 kB / 444.8 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.1078, allocations: 12 kB / 444.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.981e-05/0.1079, allocations: 16 kB / 444.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.309e-05/0.1079, allocations: 31.91 kB / 444.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.476e-05/0.108, allocations: 63.64 kB / 444.9 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.1081, allocations: 131.6 kB / 445 MB, free: 3.066 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1081, allocations: 0 / 445 MB, free: 3.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1081, allocations: 0 / 445 MB, free: 3.066 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1081, allocations: 0 / 445 MB, free: 3.066 MB / 318.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.0006454/0.1088, allocations: 466.8 kB / 445.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.1088, allocations: 11.89 kB / 445.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.088e-05/0.1089, allocations: 16.75 kB / 445.5 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/0.1092, allocations: 237.1 kB / 445.8 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.1093, allocations: 4.375 kB / 445.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.1093, allocations: 20.25 kB / 445.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004002/0.1097, allocations: 176.4 kB / 445.9 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.1097, allocations: 0 / 445.9 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.1098, allocations: 4 kB / 446 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1098, allocations: 8 kB / 446 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003483/0.1101, allocations: 123.9 kB / 446.1 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007074/0.1108, allocations: 456.3 kB / 446.5 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004878/0.1113, allocations: 198.4 kB / 446.7 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.1115, allocations: 68.8 kB / 446.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.1116, allocations: 8 kB / 446.8 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.1116, allocations: 30.56 kB / 446.8 MB, free: 1.105 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.1116, allocations: 0 / 446.8 MB, free: 1.105 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.001211/0.1128, allocations: 0.5681 MB / 447.4 MB, free: 496 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.1129, allocations: 110.7 kB / 447.5 MB, free: 360 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.947e-05/0.113, allocations: 163.6 kB / 447.7 MB, free: 188 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.113, allocations: 25.7 kB / 447.7 MB, free: 156 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.015e-05/0.113, allocations: 108 kB / 447.8 MB, free: 44 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.1131, allocations: 35.69 kB / 447.8 MB, free: 8 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-05/0.1132, allocations: 29.77 kB / 447.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1133, allocations: 322.8 kB / 448.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.1135, allocations: 76.8 kB / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.1137, allocations: 90.52 kB / 448.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003817/0.1141, allocations: 148.9 kB / 448.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1141, allocations: 0 / 448.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004426/0.1146, allocations: 185.4 kB / 448.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1146, allocations: 4.781 kB / 448.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1146, allocations: 0 / 448.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1146, allocations: 7.938 kB / 448.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.1148, allocations: 39.89 kB / 448.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1148, allocations: 0 / 448.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.115, allocations: 27.98 kB / 448.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.115, allocations: 3.984 kB / 448.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001524/0.1152, allocations: 120.1 kB / 448.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001264/0.1153, allocations: 59.08 kB / 448.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001634/0.1155, allocations: 76.8 kB / 449 MB, free: 14.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.71e-07/0.1155, allocations: 0 / 449 MB, free: 14.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002344/0.1157, allocations: 125.7 kB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.522e-06/0.1157, allocations: 4 kB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-06/0.1157, allocations: 96 / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-06/0.1157, allocations: 3.938 kB / 449.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.451e-05/0.1158, allocations: 23.98 kB / 449.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1159, allocations: 11.92 kB / 449.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.589e-05/0.116, allocations: 15.98 kB / 449.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.116, allocations: 0 / 449.2 MB, free: 14.6 MB / 334.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.0001106/0.1161, allocations: 188.2 kB / 449.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.1161, allocations: 15.81 kB / 449.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.835e-05/0.1162, allocations: 17.39 kB / 449.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1162, allocations: 3.938 kB / 449.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1162, allocations: 4 kB / 449.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1162, allocations: 0 / 449.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000827/0.117, allocations: 0.507 MB / 449.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1171, allocations: 3.938 kB / 449.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.1172, allocations: 35.97 kB / 449.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1172, allocations: 4 kB / 449.9 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1173, allocations: 0 / 449.9 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1173, allocations: 4 kB / 450 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.1173, allocations: 4 kB / 450 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007035/0.118, allocations: 356.1 kB / 450.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.754e-05/0.118, allocations: 92.89 kB / 450.4 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.1181, allocations: 8 kB / 450.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.1184, allocations: 39.94 kB / 450.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.1184, allocations: 3.984 kB / 450.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.1184, allocations: 15.92 kB / 450.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.597e-05/0.1185, allocations: 132.2 kB / 450.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1185, allocations: 0 / 450.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003137/0.1188, allocations: 36 kB / 450.6 MB, free: 13.05 MB / 334.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.0001025/0.119, allocations: 95.25 kB / 450.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005926/0.1196, allocations: 192.1 kB / 450.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1196, allocations: 192 / 450.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.1198, allocations: 79.88 kB / 451 MB, free: 12.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.1202, allocations: 47.8 kB / 451 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006325/0.1208, allocations: 293.4 kB / 451.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.1211, allocations: 0.7124 MB / 452 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.146e-05/0.1212, allocations: 16.88 kB / 452 MB, free: 11.56 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.236e-05/0.1213, allocations: 19.44 kB / 452.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1213, allocations: 0 / 452.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of Templates: time 0.005126/0.1264, allocations: 2.264 MB / 454.3 MB, free: 9.289 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches