Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 111.2 kB / 19.71 MB, free: 2.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 217.1 kB / 23.02 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.78/1.78, allocations: 207.6 MB / 233.8 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.07/0.07, allocations: 14.39 MB / 300.4 MB, free: 7.438 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand") translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003404/0.003404, allocations: 67.91 kB / 421.9 MB, free: 38.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.115, allocations: 52.91 MB / 474.8 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.00205/0.117, allocations: 0.6778 MB / 475.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002409/0.1173, allocations: 67.78 kB / 475.5 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.555e-05/0.1173, allocations: 4 kB / 475.5 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.82e-05/0.1174, allocations: 3.938 kB / 475.5 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.123e-05/0.1174, allocations: 0 / 475.5 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.1176, allocations: 19.92 kB / 475.6 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.1177, allocations: 23.98 kB / 475.6 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1178, allocations: 7.984 kB / 475.6 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.826e-05/0.1178, allocations: 15.92 kB / 475.6 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.187e-05/0.1179, allocations: 15.92 kB / 475.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.1179, allocations: 7.938 kB / 475.6 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.1179, allocations: 4 kB / 475.6 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.118, allocations: 8 kB / 475.6 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.628e-05/0.118, allocations: 7.938 kB / 475.6 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.56e-05/0.1181, allocations: 23.84 kB / 475.7 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.624e-06/0.1181, allocations: 0 / 475.7 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1181, allocations: 4 kB / 475.7 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1181, allocations: 0 / 475.7 MB, free: 0.9102 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004405/0.1185, allocations: 258.3 kB / 475.9 MB, free: 0.625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.1186, allocations: 8.031 kB / 475.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.1186, allocations: 4.938 kB / 475.9 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.1188, allocations: 114.5 kB / 476 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1188, allocations: 4.375 kB / 476.1 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.1188, allocations: 4.359 kB / 476.1 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.119, allocations: 76.73 kB / 476.1 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.119, allocations: 192 / 476.1 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.119, allocations: 3.938 kB / 476.1 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.119, allocations: 0 / 476.1 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.1192, allocations: 39.97 kB / 476.2 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/0.1196, allocations: 244.9 kB / 476.4 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.1198, allocations: 69.19 kB / 476.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.826e-05/0.1199, allocations: 29.7 kB / 476.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.1199, allocations: 3.938 kB / 476.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.12, allocations: 38.5 kB / 476.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.12, allocations: 4 kB / 476.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003743/0.1204, allocations: 93.53 kB / 476.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.994e-05/0.1204, allocations: 102.8 kB / 476.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.454e-05/0.1205, allocations: 101.8 kB / 476.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.1205, allocations: 29.7 kB / 476.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.756e-05/0.1206, allocations: 84.39 kB / 477 MB, free: 15.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.1206, allocations: 11.89 kB / 477 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.1207, allocations: 13.72 kB / 477 MB, free: 15.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1208, allocations: 314.8 kB / 477.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.147e-05/0.1209, allocations: 24.84 kB / 477.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.121, allocations: 38.56 kB / 477.4 MB, free: 15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.1212, allocations: 53.62 kB / 477.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1212, allocations: 0 / 477.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002109/0.1214, allocations: 81.66 kB / 477.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1214, allocations: 4 kB / 477.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1214, allocations: 0 / 477.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1214, allocations: 0 / 477.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.198e-05/0.1215, allocations: 15.92 kB / 477.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1215, allocations: 3.938 kB / 477.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.218e-05/0.1216, allocations: 15.94 kB / 477.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.1216, allocations: 0 / 477.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.921e-05/0.1217, allocations: 84.14 kB / 477.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.508e-05/0.1217, allocations: 34.59 kB / 477.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.911e-05/0.1218, allocations: 29.7 kB / 477.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.21e-07/0.1218, allocations: 0 / 477.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001269/0.1219, allocations: 57.56 kB / 477.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.003e-06/0.1219, allocations: 8.094 kB / 477.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-06/0.1219, allocations: 0 / 477.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-06/0.1219, allocations: 0 / 477.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.195e-05/0.122, allocations: 8 kB / 477.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-06/0.122, allocations: 0 / 477.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.255e-05/0.122, allocations: 7.984 kB / 477.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-06/0.122, allocations: 0 / 477.7 MB, free: 14.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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.0001139/0.1221, allocations: 184.1 kB / 477.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.1222, allocations: 11.94 kB / 477.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.1222, allocations: 11.27 kB / 478 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1222, allocations: 384 / 478 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1222, allocations: 4 kB / 478 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1222, allocations: 0 / 478 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.1224, allocations: 136.7 kB / 478.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.1224, allocations: 7.984 kB / 478.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.1224, allocations: 7.984 kB / 478.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1224, allocations: 4 kB / 478.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.1225, allocations: 0 / 478.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1225, allocations: 0 / 478.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1225, allocations: 4 kB / 478.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007608/0.1232, allocations: 0.9657 MB / 479.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.859e-06/0.1232, allocations: 4 kB / 479.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.1232, allocations: 0 / 479.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.832e-05/0.1233, allocations: 15.92 kB / 479.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.1234, allocations: 8 kB / 479.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.1234, allocations: 0 / 479.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.255e-05/0.1234, allocations: 83.27 kB / 479.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1234, allocations: 0 / 479.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005002/0.1239, allocations: 12 kB / 479.2 MB, free: 13 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (3): * Single equations (assignments): 3 * 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.0001231/0.1241, allocations: 99.19 kB / 479.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002773/0.1243, allocations: 51.89 kB / 479.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1243, allocations: 0 / 479.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.215e-05/0.1244, allocations: 24.3 kB / 479.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.1247, allocations: 9.5 kB / 479.4 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004314/0.1251, allocations: 228.4 kB / 479.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.1254, allocations: 0.6768 MB / 480.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.7e-05/0.1255, allocations: 12.06 kB / 480.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.1255, allocations: 7.438 kB / 480.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1255, allocations: 0 / 480.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of Templates: time 0.003372/0.1289, allocations: 0.6679 MB / 481 MB, free: 11.16 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 50] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.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.250667716143653]