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.00145/0.00145, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001379/0.001379, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.398/1.398, allocations: 222.9 MB / 242.9 MB, free: 15.17 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.2148/0.2148, allocations: 44.19 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 68.36 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1026, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002865/0.1055, allocations: 1.666 MB / 471.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.1066, allocations: 0.5962 MB / 472.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.76e-05/0.1067, allocations: 7.938 kB / 472.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.515e-05/0.1067, allocations: 11.86 kB / 472.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.412e-05/0.1068, allocations: 23.8 kB / 472.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.1072, allocations: 139 kB / 472.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.1074, allocations: 151.6 kB / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.1076, allocations: 33.41 kB / 472.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.1077, allocations: 67.78 kB / 472.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.1078, allocations: 67.67 kB / 472.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.6e-05/0.1078, allocations: 16 kB / 472.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.822e-05/0.1079, allocations: 12 kB / 472.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.441e-05/0.1079, allocations: 35.89 kB / 472.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.108, allocations: 59.66 kB / 472.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.1082, allocations: 131.8 kB / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.1082, allocations: 0 / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1082, allocations: 0 / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.1082, allocations: 0 / 472.9 MB, free: 11.36 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.0006536/0.1088, allocations: 451 kB / 473.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1089, allocations: 8.031 kB / 473.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.476e-05/0.1089, allocations: 16.75 kB / 473.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.1092, allocations: 220.6 kB / 473.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.1092, allocations: 4.375 kB / 473.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.1092, allocations: 12.12 kB / 473.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004278/0.1097, allocations: 175.1 kB / 473.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1097, allocations: 0 / 473.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.1097, allocations: 8 kB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.1097, allocations: 0 / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004155/0.1102, allocations: 127.9 kB / 473.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008249/0.111, allocations: 456.2 kB / 474.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005976/0.1116, allocations: 198.4 kB / 474.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.1118, allocations: 68.8 kB / 474.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.1119, allocations: 7.938 kB / 474.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.1119, allocations: 38.56 kB / 474.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.133e-06/0.1119, allocations: 0 / 474.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001442/0.1133, allocations: 0.5686 MB / 475.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.1134, allocations: 102.8 kB / 475.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.1136, allocations: 158.2 kB / 475.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.1136, allocations: 29.7 kB / 475.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.985e-05/0.1137, allocations: 108 kB / 475.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.1137, allocations: 27.56 kB / 475.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/0.1138, allocations: 29.7 kB / 475.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1139, allocations: 326.8 kB / 476 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.1141, allocations: 72.8 kB / 476.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.1144, allocations: 94.5 kB / 476.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004107/0.1148, allocations: 136.8 kB / 476.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1148, allocations: 0 / 476.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004951/0.1153, allocations: 197.6 kB / 476.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1153, allocations: 4 kB / 476.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1154, allocations: 4.016 kB / 476.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.1154, allocations: 4 kB / 476.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.1156, allocations: 35.91 kB / 476.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.1156, allocations: 3.984 kB / 476.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.1157, allocations: 31.97 kB / 476.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.1158, allocations: 0 / 476.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001588/0.1159, allocations: 124.1 kB / 476.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001128/0.116, allocations: 54.55 kB / 476.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001857/0.1162, allocations: 76.78 kB / 476.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.72e-07/0.1162, allocations: 0 / 476.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002411/0.1165, allocations: 121.5 kB / 476.9 MB, free: 7.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.893e-06/0.1165, allocations: 4 kB / 476.9 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-06/0.1165, allocations: 0 / 476.9 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.839e-06/0.1165, allocations: 7.922 kB / 477 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.568e-05/0.1166, allocations: 27.91 kB / 477 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-06/0.1166, allocations: 7.938 kB / 477 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.561e-05/0.1167, allocations: 16.36 kB / 477 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.1167, allocations: 4 kB / 477 MB, free: 6.938 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 0.0001051/0.1169, allocations: 181.1 kB / 477.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.1169, allocations: 15.91 kB / 477.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.453e-05/0.117, allocations: 16.59 kB / 477.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.117, allocations: 4 kB / 477.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.117, allocations: 0 / 477.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.117, allocations: 3.984 kB / 477.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008878/0.1179, allocations: 0.5107 MB / 477.7 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1179, allocations: 0 / 477.7 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.1181, allocations: 43.92 kB / 477.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1181, allocations: 0 / 477.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1181, allocations: 4 kB / 477.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1181, allocations: 0 / 477.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1181, allocations: 0 / 477.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007686/0.1189, allocations: 364 kB / 478.1 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.119, allocations: 85.05 kB / 478.2 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.119, allocations: 4.062 kB / 478.2 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.1193, allocations: 39.95 kB / 478.3 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.1193, allocations: 7.984 kB / 478.3 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.1193, allocations: 8 kB / 478.3 MB, free: 5.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.477e-05/0.1194, allocations: 119.2 kB / 478.4 MB, free: 5.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1194, allocations: 4 kB / 478.4 MB, free: 5.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003077/0.1197, allocations: 36 kB / 478.4 MB, free: 5.406 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.0001049/0.1199, allocations: 95.25 kB / 478.5 MB, free: 5.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006085/0.1205, allocations: 203.7 kB / 478.7 MB, free: 5.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1205, allocations: 0 / 478.7 MB, free: 5.105 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.1207, allocations: 75.88 kB / 478.8 MB, free: 5.031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.1212, allocations: 43.16 kB / 478.8 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006603/0.1218, allocations: 322.3 kB / 479.2 MB, free: 4.645 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.1221, allocations: 0.7046 MB / 479.9 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.298e-05/0.1222, allocations: 19.38 kB / 479.9 MB, free: 3.895 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1222, allocations: 0 / 479.9 MB, free: 3.895 MB / 350.1 MB Notification: Performance of Templates: time 0.003326/0.1255, allocations: 1.831 MB / 481.7 MB, free: 2.082 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches